Fix a failure case of connection_ap_handshake_attach_circuit()

tor_fragile_assert() might be a no-op, so we have to return something
here to indicate failure to the caller.
This commit is contained in:
Sebastian Hahn
2011-04-28 01:48:25 +02:00
parent f1cf9bd74d
commit 8a36f21251
+1
View File
@@ -1573,6 +1573,7 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn)
return -1;
default: /* oops */
tor_fragile_assert();
return -1;
}
}
}