From: Roger Dingledine Date: Wed, 10 Jul 2002 19:05:13 +0000 (+0000) Subject: it wouldn't return when the next router isn't up, leading to later seg fault X-Git-Tag: tor-0.0.2pre8~430 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=391d23c42821a838f13f544b7607ef07c8324271;p=thirdparty%2Ftor.git 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 svn:r38 --- diff --git a/src/or/command.c b/src/or/command.c index dfe8edbaa3..3c2ee97165 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -101,6 +101,7 @@ void command_process_create_cell(cell_t *cell, connection_t *conn) { */ 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));