[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] point out why router_forget_router probably doesn"t work
- To: or-cvs@freehaven.net
- Subject: [or-cvs] point out why router_forget_router probably doesn"t work
- From: arma@seul.org (Roger Dingledine)
- Date: Fri, 29 Aug 2003 17:50:55 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 29 Aug 2003 17:51:07 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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 */