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
009c6753
Commit
009c6753
authored
May 10, 2020
by
Federico G. Schwindt
Committed by
Dridi Boukelmoune
May 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation under macos
parent
66ad64fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cache_vrt.c
bin/varnishd/cache/cache_vrt.c
+3
-3
No files found.
bin/varnishd/cache/cache_vrt.c
View file @
009c6753
...
...
@@ -58,18 +58,18 @@ VRT_synth(VRT_CTX, VCL_INT code, VCL_STRING reason)
assert
(
ctx
->
req
!=
NULL
||
ctx
->
bo
!=
NULL
);
if
(
code
<
0
)
{
VRT_fail
(
ctx
,
"return(synth()) status code (%jd) is negative"
,
code
);
(
intmax_t
)
code
);
return
;
}
if
(
code
>
65535
)
{
VRT_fail
(
ctx
,
"return(synth()) status code (%jd) > 65535"
,
code
);
(
intmax_t
)
code
);
return
;
}
if
((
code
%
1000
)
<
100
)
{
VRT_fail
(
ctx
,
"illegal return(synth()) status code (%jd) (..0##)"
,
code
);
(
intmax_t
)
code
);
return
;
}
...
...
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