mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
conn_type_to_string() on a listener already says it's a listener
This commit is contained in:
parent
c37b8023b7
commit
26855fe22c
@ -1266,7 +1266,7 @@ options_act_reversible(const or_options_t *old_options, char **msg)
|
|||||||
|
|
||||||
SMARTLIST_FOREACH(new_listeners, connection_t *, conn,
|
SMARTLIST_FOREACH(new_listeners, connection_t *, conn,
|
||||||
{
|
{
|
||||||
log_notice(LD_NET, "Closing partially-constructed listener %s on %s:%d",
|
log_notice(LD_NET, "Closing partially-constructed %s on %s:%d",
|
||||||
conn_type_to_string(conn->type), conn->address, conn->port);
|
conn_type_to_string(conn->type), conn->address, conn->port);
|
||||||
connection_close_immediate(conn);
|
connection_close_immediate(conn);
|
||||||
connection_mark_for_close(conn);
|
connection_mark_for_close(conn);
|
||||||
|
Loading…
Reference in New Issue
Block a user