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

svn:r17825
This commit is contained in:
Roger Dingledine
2008-12-30 02:36:11 +00:00
parent f6b7e108e4
commit c190842a34
+2
View 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. */