]> granicus.if.org Git - libevent/commitdiff
fix a compile problem when USE_DEBUG is enabled
authorNiels Provos <provos@gmail.com>
Fri, 3 Feb 2006 19:24:28 +0000 (19:24 +0000)
committerNiels Provos <provos@gmail.com>
Fri, 3 Feb 2006 19:24:28 +0000 (19:24 +0000)
svn:r198

http.c

diff --git a/http.c b/http.c
index b68210951376db83cb8e8c0495397b908ec3e53d..9a700032c119a8b4405d6e9f008f363d433a79e1 100644 (file)
--- a/http.c
+++ b/http.c
@@ -802,7 +802,7 @@ evhttp_read_header(int fd, short what, void *arg)
 
        case EVHTTP_RESPONSE:
                event_debug(("%s: starting to read body for \"%s\" on %d\n",
-                               __func__, req->assoc_req->host, req->fd));
+                               __func__, req->remote_host, req->fd));
                evhttp_get_body(req);
                break;