[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] I don"t think it"s quite fair to condemn a whole program be...



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv17132/src/or

Modified Files:
	onion.c 
Log Message:
"I don't think it's quite fair to condemn a whole program because of a
 single slip-up."
            -- General "Buck" Turgidson, _Doctor Strangelove_



Index: onion.c
===================================================================
RCS file: /home/or/cvsroot/src/or/onion.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- onion.c	17 Nov 2003 06:02:41 -0000	1.88
+++ onion.c	17 Nov 2003 08:15:37 -0000	1.89
@@ -423,8 +423,8 @@
     /* 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 */