From c190842a343b2fad1981e6c009110fc24d46c51c Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 30 Dec 2008 02:36:11 +0000 Subject: point out the bug location to nick. unless i'm wrong. svn:r17825 --- src/or/eventdns.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/eventdns.c') diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 106e7997f2..7e2f037f1a 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -403,6 +403,8 @@ debug_ntop(const struct sockaddr *sa) if (sa->sa_family == AF_INET) { struct sockaddr_in *sin = (struct sockaddr_in *) sa; return debug_ntoa(ntohl(sin->sin_addr.s_addr)); + /* XXX021 Nick: the above does ntoa of ntohl. This is + * probably one to-host too many. -RD */ } if (sa->sa_family == AF_INET6) { /* Tor-specific. In libevent, add more check code. */ -- cgit v1.2.3-54-g00ecf