summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-08-17 07:14:45 +0000
committerNick Mathewson <nickm@torproject.org>2004-08-17 07:14:45 +0000
commit9bcd4a9c6a86a0853dad47cd1b5bcdbcebcf04ea (patch)
tree2c874e526f6addd97438f021aded061478a0d23b
parent525a4fc3657ebcf45110fd5e4a113cd93e429f77 (diff)
downloadtor-9bcd4a9c6a86a0853dad47cd1b5bcdbcebcf04ea.tar.gz
tor-9bcd4a9c6a86a0853dad47cd1b5bcdbcebcf04ea.zip
make last patch compile
svn:r2255
-rw-r--r--src/or/rephist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 025f454e68..c94b19fa15 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -82,7 +82,7 @@ static link_history_t *get_link_history(const char *from_id,
if (!orhist)
return NULL;
base16_encode(to_hexid, HEX_DIGEST_LEN+1, to_id, DIGEST_LEN);
- if (!strcmp(hexid, "0000000000000000000000000000000000000000"))
+ if (!strcmp(to_hexid, "0000000000000000000000000000000000000000"))
return NULL;
lhist = (link_history_t*) strmap_get(orhist->link_history_map, to_hexid);
if (!lhist) {