mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
bugfix: stop trying to print a null pointer if an OR conn fails
because we didn't like its cert. svn:r4111
This commit is contained in:
parent
12ea3a26b2
commit
f3ea883ccd
@ -346,7 +346,8 @@ int circuit_handle_first_hop(circuit_t *circ) {
|
|||||||
void circuit_n_conn_done(connection_t *or_conn, int status) {
|
void circuit_n_conn_done(connection_t *or_conn, int status) {
|
||||||
circuit_t *circ;
|
circuit_t *circ;
|
||||||
|
|
||||||
log_fn(LOG_DEBUG,"or_conn to %s, status=%d", or_conn->nickname, status);
|
log_fn(LOG_DEBUG,"or_conn to %s, status=%d",
|
||||||
|
or_conn->nickname ? or_conn->nickname : "NULL", status);
|
||||||
|
|
||||||
for (circ=global_circuitlist;circ;circ = circ->next) {
|
for (circ=global_circuitlist;circ;circ = circ->next) {
|
||||||
if (circ->marked_for_close)
|
if (circ->marked_for_close)
|
||||||
|
Loading…
Reference in New Issue
Block a user