Browse Source

point out the bug location to nick. unless i'm wrong.

svn:r17825
Roger Dingledine 16 years ago
parent
commit
c190842a34
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/or/eventdns.c

+ 2 - 0
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. */