[or-cvs] [tor/master] Log a notice when we get a new control connection

arma at torproject.org arma at torproject.org
Tue Jan 19 00:17:12 UTC 2010


Author: Sebastian Hahn <sebastian at torproject.org>
Date: Sat, 2 Jan 2010 02:14:02 +0100
Subject: Log a notice when we get a new control connection
Commit: c32e8c292e4061857542ef7a131d800794253a90

---
 src/or/connection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/or/connection.c b/src/or/connection.c
index 667e7dc..6506cf8 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -209,6 +209,7 @@ control_connection_new(int socket_family)
     tor_malloc_zero(sizeof(control_connection_t));
   connection_init(time(NULL),
                   TO_CONN(control_conn), CONN_TYPE_CONTROL, socket_family);
+  log_notice(LD_CONTROL, "New control connection opened.");
   return control_conn;
 }
 
-- 
1.6.5



More information about the tor-commits mailing list