projects
/
libevent
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0abe4eb
)
http: fix formatter for pritnf for req->ntoread (osx)
author
Azat Khuzhin
<a3at.mail@gmail.com>
Tue, 6 Dec 2016 08:51:18 +0000
(11:51 +0300)
committer
Azat Khuzhin
<a3at.mail@gmail.com>
Tue, 6 Dec 2016 08:51:40 +0000
(11:51 +0300)
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index 8429240075f713d3fc9150c81045c2b49b232545..3c4116de531ce64ed75ddb14d91948a71892779a 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-1022,8
+1022,8
@@
evhttp_lingering_close(struct evhttp_connection *evcon,
req->ntoread -= n;
req->body_size += n;
- event_debug(("Request body is too long, left " EV_
SIZE
_FMT,
- EV_
SIZE
_ARG(req->ntoread)));
+ event_debug(("Request body is too long, left " EV_
I64
_FMT,
+ EV_
I64
_ARG(req->ntoread)));
evbuffer_drain(buf, n);
if (!req->ntoread)