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
718531c5
Commit
718531c5
authored
Nov 14, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the size check work on arm/32bit
parent
45c79d06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
varnishncsa.c
bin/varnishncsa/varnishncsa.c
+3
-3
No files found.
bin/varnishncsa/varnishncsa.c
View file @
718531c5
...
...
@@ -600,7 +600,7 @@ parse_x_format(char *buf)
{
char
*
e
,
*
r
,
*
s
;
int
slt
;
long
i
;
intmax_t
i
;
if
(
!
strcmp
(
buf
,
"Varnish:time_firstbyte"
))
{
addf_fragment
(
&
CTX
.
frag
[
F_ttfb
],
""
);
...
...
@@ -640,7 +640,7 @@ parse_x_format(char *buf)
if
(
r
==
buf
||
r
[
1
]
==
']'
)
VUT_Error
(
1
,
"Syntax error: VSL:%s"
,
buf
);
e
[
-
1
]
=
'\0'
;
i
=
strto
l
(
r
+
1
,
&
s
,
10
);
i
=
strto
imax
(
r
+
1
,
&
s
,
10
);
if
(
s
!=
e
-
1
)
VUT_Error
(
1
,
"Syntax error: VSL:%s]"
,
buf
);
if
(
i
<=
0
)
...
...
@@ -650,7 +650,7 @@ parse_x_format(char *buf)
buf
);
if
(
i
>
INT_MAX
)
{
VUT_Error
(
1
,
"Field specifier %
l
d for the tag VSL:%s]"
"Field specifier %
j
d for the tag VSL:%s]"
" is probably too high"
,
i
,
buf
);
}
...
...
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