[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[or-cvs] it wouldn"t return when the next router isn"t up, leading t...



Update of /home/or/cvsroot/src/or
In directory moria.seul.org:/home/arma/work/onion/cvs/src/or

Modified Files:
	command.c 
Log Message:
it wouldn't return when the next router isn't up, leading to later seg fault

i'm going to take a shower, and then solve the deadlocking problem mat found


Index: command.c
===================================================================
RCS file: /home/or/cvsroot/src/or/command.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- command.c	8 Jul 2002 08:59:15 -0000	1.4
+++ command.c	10 Jul 2002 19:05:13 -0000	1.5
@@ -101,6 +101,7 @@
        */
       log(LOG_DEBUG,"command_process_create_cell(): Next router not connected. Closing.");
       circuit_close(circ);
+      return;
     }
     circ->n_conn = n_conn;
     log(LOG_DEBUG,"command_process_create_cell(): n_conn is %s:%u",n_conn->address,ntohs(n_conn->port));