http: fix formatter for pritnf for req->ntoread (osx)
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 6 Dec 2016 08:51:18 +0000 (11:51 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 6 Dec 2016 08:51:40 +0000 (11:51 +0300)
http.c

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)