From 9bcd4a9c6a86a0853dad47cd1b5bcdbcebcf04ea Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 17 Aug 2004 07:14:45 +0000 Subject: make last patch compile svn:r2255 --- src/or/rephist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-54-g00ecf