diff options
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 c5d16d270d..3aa7e797b9 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 |