The current svn trunk (r428) doesn't build when debugging messages
are turned on. This small patch makes the changes need to get things
compiling again.
Index: http.c
===================================================================
--- http.c (revision 428)
+++ http.c (working copy)
@@ -1499,7 +1499,7 @@
evcon->fd = bind_socket(evcon->bind_address, 0);
if (evcon->fd == -1) {
event_debug(("%s: failed to bind to \"%s\"",
- __func__, bind_address));
+ __func__, evcon->bind_address));
return (-1);
}
@@ -2439,7 +2439,7 @@
if (ai == NULL) {
event_debug(("%s: make_addrinfo: \"%s:%d\"",
- __func__, evcon->address, evcon->port));
+ __func__, address, port));
return (-1);
}
_______________________________________________
Libevent-users mailing list
[email protected]
http://monkey.org/mailman/listinfo/libevent-users