forked from Mirrors/freeswitch
fix printf specifier bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12069 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e858a1d850
commit
4b79e12193
@ -245,7 +245,7 @@ int http_req(http_request_t * req, http_response_t * res)
|
||||
else
|
||||
dprintf(s, "Host: %s\r\n", hostname);
|
||||
dprintf(s, "Connection: close\r\n");
|
||||
dprintf(s, "Content-Length: %ld\r\n", req->body_len);
|
||||
dprintf(s, "Content-Length: %d\r\n", (int)req->body_len);
|
||||
|
||||
for (i = 0; i < req->header_len; i++) {
|
||||
dprintf(s, "%s: %s\r\n", req->headers[i].field_name, req->headers[i].value);
|
||||
|
Loading…
Reference in New Issue
Block a user