diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-03-27 18:28:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-03-27 18:28:39 -0400 |
commit | 80b2756b537204ba070f1e3df4e5ed3f4e6815c0 (patch) | |
tree | ded9db5c86010b5a33004d4be2c1d75987a21331 /src/common | |
parent | 342e753d31a91752da19fbcef92e07373b30fac6 (diff) | |
download | tor-80b2756b537204ba070f1e3df4e5ed3f4e6815c0.tar tor-80b2756b537204ba070f1e3df4e5ed3f4e6815c0.tar.gz |
Log statement to help track down bug4091
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/address.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c index 17cda42cb..676c48589 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -355,7 +355,9 @@ tor_addr_is_internal(const tor_addr_t *addr, int for_listening) /* unknown address family... assume it's not safe for external use */ /* rather than tor_assert(0) */ - log_warn(LD_BUG, "tor_addr_is_internal() called with a non-IP address."); + log_warn(LD_BUG, "tor_addr_is_internal() called with a non-IP address of " + "type %d", (int)v_family); + tor_fragile_assert(); return 1; } |