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
1c4d04f6
Commit
1c4d04f6
authored
Mar 01, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont pass empty strings to VSB_quote()
parent
4d483a2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
varnishstat_help_gen.c
bin/varnishstat/varnishstat_help_gen.c
+1
-1
No files found.
bin/varnishstat/varnishstat_help_gen.c
View file @
1c4d04f6
...
...
@@ -69,7 +69,7 @@ main(void)
do
{
p
=
n
+
1
;
n
=
strchr
(
p
,
'\n'
);
if
(
n
!=
NULL
)
{
if
(
n
!=
NULL
&&
n
>
p
)
{
VSB_putc
(
vsb
,
'\t'
);
VSB_quote
(
vsb
,
p
,
(
int
)(
n
-
p
),
VSB_QUOTE_CSTR
);
VSB_cat
(
vsb
,
",
\n
"
);
...
...
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