]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
make last patch compile
authorNick Mathewson <nickm@torproject.org>
Tue, 17 Aug 2004 07:14:45 +0000 (07:14 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 17 Aug 2004 07:14:45 +0000 (07:14 +0000)
svn:r2255

src/or/rephist.c

index 025f454e68296fbb4339dbe536227dd8e01ed3a4..c94b19fa15ef586c5dafcb022c8b60e18c71d50b 100644 (file)
@@ -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) {