[or-cvs] make last patch compile

Nick Mathewson nickm at seul.org
Tue Aug 17 07:14:47 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv28165/src/or

Modified Files:
	rephist.c 
Log Message:
make last patch compile

Index: rephist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rephist.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- rephist.c	17 Aug 2004 07:12:05 -0000	1.25
+++ rephist.c	17 Aug 2004 07:14:45 -0000	1.26
@@ -82,7 +82,7 @@
   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) {



More information about the tor-commits mailing list