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
01247317
Commit
01247317
authored
Oct 10, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont eat newlines in VSB_QUOTE_CSTR mode
Spotted by: gquintar
parent
96bb4f7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vsb.c
lib/libvarnish/vsb.c
+1
-1
No files found.
lib/libvarnish/vsb.c
View file @
01247317
...
...
@@ -555,7 +555,7 @@ VSB_quote(struct vsb *s, const void *v, int len, int how)
break
;
case
'\n'
:
if
(
how
&
VSB_QUOTE_CSTR
)
(
void
)
VSB_cat
(
s
,
"
\"\n\t\"
"
);
(
void
)
VSB_cat
(
s
,
"
\
\
n
\
"\n\t\"
"
);
else
if
(
how
&
VSB_QUOTE_NONL
)
(
void
)
VSB_cat
(
s
,
"
\n
"
);
else
...
...
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