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