diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-11-19 01:28:57 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-11-19 01:28:57 +0000 |
commit | dde0eb65705310ce1a5105d81dcc3d14bf5ad73a (patch) | |
tree | 3869967afa7089c9ac20c35a4cb3868d177a7d0e | |
parent | 0e5abcb6359693b4798144be7628554596aef72a (diff) | |
download | tor-dde0eb65705310ce1a5105d81dcc3d14bf5ad73a.tar.gz tor-dde0eb65705310ce1a5105d81dcc3d14bf5ad73a.zip |
Patch last patch.
svn:r843
-rw-r--r-- | src/or/onion.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index 20a1f36607..7abdbe63bc 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -351,12 +351,13 @@ static routerinfo_t *choose_good_exit_server(directory_t *dir) if (i) { --i; } else { + log_fn(LOG_DEBUG, "Chose exit server '%s'", dir->routers[i]->nickname); return dir->routers[j]; } } } - log_fn(LOG_DEBUG, "Chose exit server '%s'", dir->routers[i]->nickname); - return dir->routers[i]; + assert(0); + return NULL; } cpath_build_state_t *onion_new_cpath_build_state(void) { |