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
b4968da5
Commit
b4968da5
authored
Mar 07, 2023
by
Darryl Rodden
Committed by
Dridi Boukelmoune
Jul 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use VSL_DATA and VSL_BYTES macros
parent
75c7cb29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vsl_dispatch.c
lib/libvarnishapi/vsl_dispatch.c
+2
-2
No files found.
lib/libvarnishapi/vsl_dispatch.c
View file @
b4968da5
...
...
@@ -1038,8 +1038,8 @@ vtx_synth_rec(struct vtx *vtx, unsigned tag, const char *fmt, ...)
ALLOC_OBJ
(
synth
,
SYNTH_MAGIC
);
AN
(
synth
);
buf
=
(
char
*
)
&
synth
->
data
[
VSL_OVERHEAD
]
;
buflen
=
sizeof
(
synth
->
data
)
-
VSL_OVERHEAD
*
sizeof
(
uint32_t
);
buf
=
VSL_DATA
(
synth
->
data
)
;
buflen
=
sizeof
(
synth
->
data
)
-
VSL_BYTES
(
VSL_OVERHEAD
);
va_start
(
ap
,
fmt
);
l
=
vsnprintf
(
buf
,
buflen
,
fmt
,
ap
);
assert
(
l
>=
0
);
...
...
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