]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
point out the bug location to nick. unless i'm wrong.
authorRoger Dingledine <arma@torproject.org>
Tue, 30 Dec 2008 02:36:11 +0000 (02:36 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 30 Dec 2008 02:36:11 +0000 (02:36 +0000)
svn:r17825

src/or/eventdns.c

index 106e7997f22c11be33db43a1b468b37c55e7b771..7e2f037f1a73d4b39b70972dd5b919abac236767 100644 (file)
@@ -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. */