[or-cvs] r17825: {tor} point out the bug location to nick. unless i'm wrong. (tor/trunk/src/or)

arma at seul.org arma at seul.org
Tue Dec 30 02:36:11 UTC 2008


Author: arma
Date: 2008-12-29 21:36:11 -0500 (Mon, 29 Dec 2008)
New Revision: 17825

Modified:
   tor/trunk/src/or/eventdns.c
Log:
point out the bug location to nick. unless i'm wrong.


Modified: tor/trunk/src/or/eventdns.c
===================================================================
--- tor/trunk/src/or/eventdns.c	2008-12-30 02:03:23 UTC (rev 17824)
+++ tor/trunk/src/or/eventdns.c	2008-12-30 02:36:11 UTC (rev 17825)
@@ -403,6 +403,8 @@
 	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. */



More information about the tor-commits mailing list