mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Fix a couple of event_debug calls.
svn:r1527
This commit is contained in:
parent
74871cacb8
commit
c79a45e009
4
http.c
4
http.c
@ -1642,8 +1642,8 @@ evhttp_get_body_length(struct evhttp_request *req)
|
||||
req->ntoread = ntoread;
|
||||
}
|
||||
|
||||
event_debug(("%s: bytes to read: %d (in buffer %ld)\n",
|
||||
__func__, req->ntoread,
|
||||
event_debug(("%s: bytes to read: %ld (in buffer %ld)\n",
|
||||
__func__, (long)req->ntoread,
|
||||
evbuffer_get_length(bufferevent_get_input(req->evcon->bufev))));
|
||||
|
||||
return (0);
|
||||
|
@ -382,7 +382,7 @@ test_evutil_log(void *ptr)
|
||||
tt_int_op(exited,==,0);
|
||||
RESET();
|
||||
|
||||
event_debug("A millisecond passed! We should log that!");
|
||||
event_debug(("A millisecond passed! We should log that!"));
|
||||
#ifdef USE_DEBUG
|
||||
LOGEQ(_EVENT_LOG_DEBUG, "A millisecond passed! We should log that!");
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user