mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
point out why router_forget_router probably doesn't work
svn:r422
This commit is contained in:
parent
e14aedaad0
commit
e13d947986
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user