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
ca9fda64
Commit
ca9fda64
authored
Apr 05, 2018
by
Nils Goroll
Committed by
Dridi Boukelmoune
Jun 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flexelint 743
Negative character constant
parent
dae34507
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cache_esi_parse.c
bin/varnishd/cache/cache_esi_parse.c
+3
-2
No files found.
bin/varnishd/cache/cache_esi_parse.c
View file @
ca9fda64
...
...
@@ -616,7 +616,8 @@ VEP_Parse(struct vep_state *vep, const char *p, size_t l)
*/
if
(
vep
->
state
==
VEP_START
)
{
if
(
FEATURE
(
FEATURE_ESI_REMOVE_BOM
)
&&
*
p
==
'\xeb'
)
{
if
(
FEATURE
(
FEATURE_ESI_REMOVE_BOM
)
&&
*
p
==
(
char
)
0xeb
)
{
vep
->
match
=
vep_match_bom
;
vep
->
state
=
VEP_MATCH
;
}
else
...
...
@@ -638,7 +639,7 @@ VEP_Parse(struct vep_state *vep, const char *p, size_t l)
if
(
p
<
e
&&
*
p
==
'<'
)
{
p
++
;
vep
->
state
=
VEP_STARTTAG
;
}
else
if
(
p
<
e
&&
*
p
==
'\xeb'
)
{
}
else
if
(
p
<
e
&&
*
p
==
(
char
)
0xeb
)
{
VSLb
(
vep
->
vc
->
wrk
->
vsl
,
SLT_ESI_xmlerror
,
"No ESI processing, "
"first char not '<' but BOM."
...
...
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