Commit 13ff334d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

Fix printf formats for MacOS 10.9.4

Reported by:	Meng Zhang
parent 47bb3c78
......@@ -706,12 +706,12 @@ HTTP1_CacheReqBody(struct req *req, ssize_t maxsize)
http_Unset(req->http0, H_Content_Length);
http_Unset(req->http0, H_Transfer_Encoding);
http_PrintfHeader(req->http0, "Content-Length: %ju",
req->req_bodybytes);
(uintmax_t)req->req_bodybytes);
http_Unset(req->http, H_Content_Length);
http_Unset(req->http, H_Transfer_Encoding);
http_PrintfHeader(req->http, "Content-Length: %ju",
req->req_bodybytes);
(uintmax_t)req->req_bodybytes);
req->req_body_status = REQ_BODY_CACHED;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment