Fix a couple of event_debug calls.

svn:r1527
This commit is contained in:
Nick Mathewson 2009-11-14 21:54:30 +00:00
parent 74871cacb8
commit c79a45e009
2 changed files with 3 additions and 3 deletions

4
http.c
View File

@ -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);

View File

@ -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