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
This commit is contained in:
Roger Dingledine 2002-07-10 19:05:13 +00:00
parent db15776bdd
commit 391d23c428

View File

@ -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));