Explorar el Código

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

svn:r17825
Roger Dingledine hace 17 años
padre
commit
c190842a34
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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. */