Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent3
Commits
1e10378a
Commit
1e10378a
authored
May 13, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix printf formats for 32/64 issues
parent
e633a7f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vtc_http.c
bin/varnishtest/vtc_http.c
+4
-2
No files found.
bin/varnishtest/vtc_http.c
View file @
1e10378a
...
...
@@ -871,7 +871,8 @@ cmd_http_txreq(CMD_ARGS)
if
(
*
av
!=
NULL
)
vtc_log
(
hp
->
vl
,
0
,
"Unknown http txreq spec: %s
\n
"
,
*
av
);
if
(
body
!=
NULL
)
vsb_printf
(
hp
->
vsb
,
"Content-Length: %lu%s"
,
strlen
(
body
),
nl
);
vsb_printf
(
hp
->
vsb
,
"Content-Length: %ju%s"
,
(
uintmax_t
)
strlen
(
body
),
nl
);
vsb_cat
(
hp
->
vsb
,
nl
);
if
(
body
!=
NULL
)
{
vsb_cat
(
hp
->
vsb
,
body
);
...
...
@@ -916,7 +917,8 @@ cmd_http_chunked(CMD_ARGS)
AN
(
av
[
1
]);
AZ
(
av
[
2
]);
vsb_clear
(
hp
->
vsb
);
vsb_printf
(
hp
->
vsb
,
"%lx%s%s%s"
,
strlen
(
av
[
1
]),
nl
,
av
[
1
],
nl
);
vsb_printf
(
hp
->
vsb
,
"%jx%s%s%s"
,
(
uintmax_t
)
strlen
(
av
[
1
]),
nl
,
av
[
1
],
nl
);
http_write
(
hp
,
4
,
"chunked"
);
}
...
...
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