mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
whoops, fix seg fault i just introduced
svn:r3828
This commit is contained in:
parent
7373042a7b
commit
22386ecf1e
@ -407,7 +407,7 @@ int connection_edge_send_command(connection_t *fromconn, circuit_t *circ,
|
|||||||
relay_header_t rh;
|
relay_header_t rh;
|
||||||
int cell_direction;
|
int cell_direction;
|
||||||
|
|
||||||
if (fromconn->marked_for_close) {
|
if (fromconn && fromconn->marked_for_close) {
|
||||||
log_fn(LOG_WARN,"Bug: called on conn that's already marked for close at %s:%d.",
|
log_fn(LOG_WARN,"Bug: called on conn that's already marked for close at %s:%d.",
|
||||||
fromconn->marked_for_close_file, fromconn->marked_for_close);
|
fromconn->marked_for_close_file, fromconn->marked_for_close);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user