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

[or-cvs] point out why router_forget_router probably doesn"t work



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	routers.c 
Log Message:
point out why router_forget_router probably doesn't work


Index: routers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routers.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- routers.c	28 Aug 2003 04:21:51 -0000	1.43
+++ routers.c	29 Aug 2003 21:50:53 -0000	1.44
@@ -194,6 +194,7 @@
 //  log(LOG_DEBUG,"router_forget_router(): Forgot about router %d:%d",addr,port);
   for(; i<directory->n_routers-1;i++)
     directory->routers[i] = directory->routers[i+1];
+  /* XXX bug, we're not decrementing n_routers here? needs more attention. -RD */
 }
 
 /* load the router list */