[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Fix dumb logic error that kept some old descripttors from g...



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv15611/src/or

Modified Files:
	routerlist.c 
Log Message:
Fix dumb logic error that kept some old descripttors from getting the axe.

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.379
retrieving revision 1.380
diff -u -d -r1.379 -r1.380
--- routerlist.c	23 Nov 2005 07:24:59 -0000	1.379
+++ routerlist.c	23 Nov 2005 07:28:54 -0000	1.380
@@ -1705,6 +1705,7 @@
     }
     if (memcmp(cur_id, r->identity_digest, DIGEST_LEN)) {
       routerlist_remove_old_cached_routers_with_id(cutoff, i+1, hi);
+      cur_id = r->identity_digest;
       hi = i;
     }
   }