aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/routers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routers.c b/src/or/routers.c
index 9df1d0e22..5d6492a51 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(; 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 */