Patch last patch.

svn:r843
This commit is contained in:
Nick Mathewson 2003-11-19 01:28:57 +00:00
parent 0e5abcb635
commit dde0eb6570

View File

@ -351,12 +351,13 @@ static routerinfo_t *choose_good_exit_server(directory_t *dir)
if (i) { if (i) {
--i; --i;
} else { } else {
log_fn(LOG_DEBUG, "Chose exit server '%s'", dir->routers[i]->nickname);
return dir->routers[j]; return dir->routers[j];
} }
} }
} }
log_fn(LOG_DEBUG, "Chose exit server '%s'", dir->routers[i]->nickname); assert(0);
return dir->routers[i]; return NULL;
} }
cpath_build_state_t *onion_new_cpath_build_state(void) { cpath_build_state_t *onion_new_cpath_build_state(void) {