diff options
author | Roger Dingledine <arma@torproject.org> | 2008-12-30 02:36:11 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-12-30 02:36:11 +0000 |
commit | c190842a343b2fad1981e6c009110fc24d46c51c (patch) | |
tree | b78953ec6ab6566e0fe8e287398d20e0fe975fdb /src | |
parent | f6b7e108e4e5a945c510f6a4008e53fa1053934d (diff) | |
download | tor-c190842a343b2fad1981e6c009110fc24d46c51c.tar.gz tor-c190842a343b2fad1981e6c009110fc24d46c51c.zip |
point out the bug location to nick. unless i'm wrong.
svn:r17825
Diffstat (limited to 'src')
-rw-r--r-- | src/or/eventdns.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |