From 8b499c83bd61b4ccb686bd571ce3fa00ed3f10aa Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 29 Aug 2003 21:50:53 +0000 Subject: [PATCH] point out why router_forget_router probably doesn't work svn:r422 --- trunk/src/or/routers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/or/routers.c b/trunk/src/or/routers.c index 9df1d0e22e..5d6492a51b 100644 --- a/trunk/src/or/routers.c +++ b/trunk/src/or/routers.c @@ -194,6 +194,7 @@ void router_forget_router(uint32_t addr, uint16_t port) { // log(LOG_DEBUG,"router_forget_router(): Forgot about router %d:%d",addr,port); for(; in_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 */