diff options
author | Roger Dingledine <arma@torproject.org> | 2003-08-29 21:50:53 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-08-29 21:50:53 +0000 |
commit | e13d947986ddc32ed14e02ae4770f067b44b02c8 (patch) | |
tree | a91eb882c7915a647bb14efc5fff5209b029a3a8 /src/or | |
parent | e14aedaad08f091676aac8112d82f10a43c149a1 (diff) | |
download | tor-e13d947986ddc32ed14e02ae4770f067b44b02c8.tar tor-e13d947986ddc32ed14e02ae4770f067b44b02c8.tar.gz |
point out why router_forget_router probably doesn't work
svn:r422
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routers.c | 1 |
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 */ |