diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-20 17:43:55 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-20 17:43:55 +0000 |
commit | 5364833be0f5c7fd3619ab140830194b1f7844a9 (patch) | |
tree | 3d6c2980943852c319bed6d3863e5844e00fcbbe /src/or/routerlist.c | |
parent | bc26f28865da1e95fa89a2d26314ae0fd1ef27e3 (diff) | |
download | tor-5364833be0f5c7fd3619ab140830194b1f7844a9.tar.gz tor-5364833be0f5c7fd3619ab140830194b1f7844a9.zip |
r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400
Address points in r10227.
svn:r10229
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index cbce80be57..bda3a3b50a 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4856,8 +4856,8 @@ routerinfo_incompatible_with_extrainfo(routerinfo_t *ri, extrainfo_t *ei) if (ei->bad_sig) return 1; - /* XXX020 below we should explain why this is strcmp and not strcasecmp, - * since it differs from how we usually compare nicknames. -RD */ + /* The nickname must match exactly to have been generated at the same time + * by the same rotuer. */ if (strcmp(ri->nickname, ei->nickname) || memcmp(ri->cache_info.identity_digest, ei->cache_info.identity_digest, DIGEST_LEN)) |