aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2002-07-10 19:05:13 +0000
committerRoger Dingledine <arma@torproject.org>2002-07-10 19:05:13 +0000
commit391d23c42821a838f13f544b7607ef07c8324271 (patch)
tree3b59953ba81b23d612c37160f11cd94a29b33f6a /src/or/command.c
parentdb15776bdd1870237406c6e5077b175b17a9eafb (diff)
downloadtor-391d23c42821a838f13f544b7607ef07c8324271.tar.gz
tor-391d23c42821a838f13f544b7607ef07c8324271.zip
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
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c1
1 files changed, 1 insertions, 0 deletions
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));