From e13d947986ddc32ed14e02ae4770f067b44b02c8 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 29 Aug 2003 21:50:53 +0000 Subject: point out why router_forget_router probably doesn't work svn:r422 --- src/or/routers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/or/routers.c b/src/or/routers.c index 9df1d0e22e..5d6492a51b 100644 --- a/src/or/routers.c +++ b/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 */ -- cgit v1.2.3-54-g00ecf