summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-29 13:18:52 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-29 13:18:52 +0000
commit616152486f041acd5ff81f06d319ecc996853742 (patch)
treeac9599308028943a9a8616f6138bd47c27b86d16
parenta68e6e23c98ddbfe318e1aad615de6af2b4c1e45 (diff)
downloadtor-616152486f041acd5ff81f06d319ecc996853742.tar.gz
tor-616152486f041acd5ff81f06d319ecc996853742.zip
r13986@catbus: nickm | 2007-07-29 09:15:03 -0400
Answer comment from Roger. svn:r10971
-rw-r--r--src/or/dirserv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index d596f8923a..72e1694db6 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1739,6 +1739,9 @@ _compare_routerinfo_by_ip_and_bw(const void **a, const void **b)
/* XXX020 k n lg n memcmps could show up bigtime in profiling. If
* they do, I suggest we just give authorities a free pass. -RD */
+ /* I think we're fine. Remember, in nearly all cases, the addresses
+ * will be different and we'll never actually reach this point. -NM */
+
first_is_auth =
router_digest_is_trusted_dir(first->cache_info.identity_digest);
second_is_auth =