Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
7e7d72aa
Commit
7e7d72aa
authored
May 23, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish for sunos compiler
parent
7a8dc379
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
vsc.c
lib/libvarnishapi/vsc.c
+3
-8
No files found.
lib/libvarnishapi/vsc.c
View file @
7e7d72aa
...
...
@@ -333,7 +333,6 @@ vsc_build_vf_list(struct VSM_data *vd)
{
uint64_t
u
;
struct
vsc
*
vsc
=
vsc_setup
(
vd
);
struct
vjsn
*
vj
;
const
char
*
p
;
const
char
*
e
;
...
...
@@ -343,20 +342,16 @@ vsc_build_vf_list(struct VSM_data *vd)
VSM_FOREACH
(
&
vsc
->
iter_fantom
,
vd
)
{
if
(
strcmp
(
vsc
->
iter_fantom
.
class
,
VSC_CLASS
))
continue
;
u
=
vbe64dec
(
vsc
->
iter_fantom
.
b
);
vsc_build_old_vf_list
(
vsc
);
if
(
u
==
0
)
{
fprintf
(
stderr
,
"%s has no JSON
\n
"
,
vsc
->
iter_fantom
.
type
);
exit
(
2
);
}
u
=
vbe64dec
(
vsc
->
iter_fantom
.
b
);
assert
(
u
>
0
);
p
=
(
char
*
)
vsc
->
iter_fantom
.
b
+
8
+
u
;
vj
=
vjsn_parse
(
p
,
&
e
);
(
void
)
vjsn_parse
(
p
,
&
e
);
if
(
e
!=
NULL
)
{
fprintf
(
stderr
,
"%s
\n
"
,
p
);
fprintf
(
stderr
,
"JSON ERROR %s
\n
"
,
e
);
}
AZ
(
e
);
//vjsn_dump(vj, stdout);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment