summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-02-23 06:46:54 +0000
committerNick Mathewson <nickm@torproject.org>2005-02-23 06:46:54 +0000
commit69a36e352e1d115b6991e71cd35fbcb87296d975 (patch)
tree577b2cba6d202dda8b3e753b8d84fc3dc737d0a0 /src/or/connection_edge.c
parente0387d1322a5dc5ea46da1e3dc84a2befa29d922 (diff)
downloadtor-69a36e352e1d115b6991e71cd35fbcb87296d975.tar.gz
tor-69a36e352e1d115b6991e71cd35fbcb87296d975.zip
clarify comment
svn:r3667
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index ec085bb406..8505d98f35 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -499,7 +499,7 @@ void client_dns_set_addressmap(const char *address, uint32_t val)
tor_assert(address); tor_assert(val);
if (tor_inet_aton(address, &in))
- return; /* don't set an addresmap back to ourselves! ????NM*/
+ return; /* If address was an IP address already, don't add a mapping. */
in.s_addr = htonl(val);
addr = tor_malloc(INET_NTOA_BUF_LEN);
tor_inet_ntoa(&in,addr,INET_NTOA_BUF_LEN);