summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-11-17 08:15:37 +0000
committerNick Mathewson <nickm@torproject.org>2003-11-17 08:15:37 +0000
commitf42c77f6186569d22f85fa7107a9828712c7dac5 (patch)
tree4da386f19804b12e9a2a729d697236d86d7c50c0
parenta18ced652b2f7e6a83c24001b6f394f1e87ad2dd (diff)
downloadtor-f42c77f6186569d22f85fa7107a9828712c7dac5.tar.gz
tor-f42c77f6186569d22f85fa7107a9828712c7dac5.zip
"I don't think it's quite fair to condemn a whole program because of a
single slip-up." -- General "Buck" Turgidson, _Doctor Strangelove_ svn:r828
-rw-r--r--src/or/onion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/onion.c b/src/or/onion.c
index 26f16bd77f..8cb2cddbe5 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -423,8 +423,8 @@ int onion_extend_cpath(crypt_path_t **head_ptr, cpath_build_state_t *state, rout
/* This actually happens with P=1/30,000,000 when we _could_ build a
* circuit. For now, let's leave it in.
*/
- log_fn(LOG_ERR, "Infinite loop in exit path selection");
- exit(1);
+ log_fn(LOG_INFO, "Unable to continue generating circuit path");
+ return -1;
}
start:
if(cur_len == 0) { /* picking entry node */