[or-cvs] Patch last patch.

Nick Mathewson nickm at seul.org
Wed Nov 19 01:29:00 UTC 2003


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

Modified Files:
	onion.c 
Log Message:
Patch last patch.

Index: onion.c
===================================================================
RCS file: /home/or/cvsroot/src/or/onion.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- onion.c	19 Nov 2003 01:24:19 -0000	1.93
+++ onion.c	19 Nov 2003 01:28:57 -0000	1.94
@@ -351,12 +351,13 @@
       if (i) {
         --i;
       } else {
+        log_fn(LOG_DEBUG, "Chose exit server '%s'", dir->routers[i]->nickname);
         return dir->routers[j];
       }
     }
   }
-  log_fn(LOG_DEBUG, "Chose exit server '%s'", dir->routers[i]->nickname);
-  return dir->routers[i];
+  assert(0);
+  return NULL;
 }
 
 cpath_build_state_t *onion_new_cpath_build_state(void) {



More information about the tor-commits mailing list