1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Fix a segfault when logging requests in syslog with
log_all_requests=yes and unrestricted_connect=yes.
Bug-Debian: http://bugs.debian.org/702041
Author: Antoni Villalonga <antoni@friki.cat>
Last-Update: 2013-03-18
--- a/request.c
+++ b/request.c
@@ -91,7 +91,7 @@
r.host, clinfo->name, clinfo->ip);
else
info("CONNECT to host (%s:%d) from (%s) [%s]",
- r.host, r.port, clinfo->ip);
+ r.host, r.port, clinfo->name, clinfo->ip);
}
i = do_request(cl, &r);
switch (i) {
|