summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 106e7997f2..7e2f037f1a 100644
--- a/src/or/eventdns.c
+++ b/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. */