diff options
author | Roger Dingledine <arma@torproject.org> | 2004-10-16 22:56:46 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-10-16 22:56:46 +0000 |
commit | 7c3ab346f65f1f26ea32193ec5989d6bee003e62 (patch) | |
tree | 7863ef194ff7b80a8621ac542137e55455157c42 /src/or/circuitbuild.c | |
parent | e9e9a258815db3c50c4581d7a1a9d27a45fb058b (diff) | |
download | tor-7c3ab346f65f1f26ea32193ec5989d6bee003e62.tar tor-7c3ab346f65f1f26ea32193ec5989d6bee003e62.tar.gz |
various tweaks and fixes
svn:r2548
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index c5d16d270..3aa7e797b 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -979,11 +979,9 @@ static routerinfo_t *choose_good_exit_server(uint8_t purpose, routerlist_t *dir) r = router_choose_random_node(options.RendNodes, options.RendExcludeNodes, NULL, 0, 1, options._AllowUnverified & ALLOW_UNVERIFIED_RENDEZVOUS, 0); return r; - default: - log_fn(LOG_WARN,"unhandled purpose %d", purpose); - tor_assert(0); } - return NULL; /* never reached */ + log_fn(LOG_WARN,"Unhandled purpose %d", purpose); + return NULL; } /** Allocate a cpath_build_state_t, populate it based on |