Log a notice when we get a new control connection

This commit is contained in:
Sebastian Hahn 2010-01-02 02:14:02 +01:00 committed by Roger Dingledine
parent 571c94a735
commit c32e8c292e

View File

@ -209,6 +209,7 @@ control_connection_new(int socket_family)
tor_malloc_zero(sizeof(control_connection_t)); tor_malloc_zero(sizeof(control_connection_t));
connection_init(time(NULL), connection_init(time(NULL),
TO_CONN(control_conn), CONN_TYPE_CONTROL, socket_family); TO_CONN(control_conn), CONN_TYPE_CONTROL, socket_family);
log_notice(LD_CONTROL, "New control connection opened.");
return control_conn; return control_conn;
} }