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
8b9e46f8
Commit
8b9e46f8
authored
Jan 25, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cast to intmax_t for printf
parent
23ab89b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cache_esi_deliver.c
bin/varnishd/cache_esi_deliver.c
+1
-1
No files found.
bin/varnishd/cache_esi_deliver.c
View file @
8b9e46f8
...
...
@@ -134,7 +134,7 @@ ved_sendchunk(const struct sess *sp, const void *cb, ssize_t cl,
assert
(
l
>
0
);
if
(
sp
->
wrk
->
res_mode
&
RES_CHUNKED
)
{
if
(
cb
==
NULL
)
{
bprintf
(
chunk
,
"%jx
\r\n
"
,
l
);
bprintf
(
chunk
,
"%jx
\r\n
"
,
(
intmax_t
)
l
);
(
void
)
WRW_Write
(
sp
->
wrk
,
chunk
,
-
1
);
}
else
(
void
)
WRW_Write
(
sp
->
wrk
,
cb
,
cl
);
...
...
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