From 7c3ab346f65f1f26ea32193ec5989d6bee003e62 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 16 Oct 2004 22:56:46 +0000 Subject: various tweaks and fixes svn:r2548 --- src/or/circuitbuild.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/or/circuitbuild.c') 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 -- cgit v1.2.3