[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torsocks/master] close: Prefix debug messages with [close]



commit 0aac61f3d737da5c6973b56be8dcd00227de389c
Author: David Goulet <dgoulet@xxxxxxxxx>
Date:   Sun Oct 16 18:50:44 2016 -0400

    close: Prefix debug messages with [close]
    
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxx>
---
 src/lib/close.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/close.c b/src/lib/close.c
index 23c80e6..4381514 100644
--- a/src/lib/close.c
+++ b/src/lib/close.c
@@ -30,7 +30,7 @@ LIBC_CLOSE_RET_TYPE tsocks_close(LIBC_CLOSE_SIG)
 {
 	struct connection *conn;
 
-	DBG("Close caught for fd %d", fd);
+	DBG("[close] Close caught for fd %d", fd);
 
 	connection_registry_lock();
 	conn = connection_find(fd);
@@ -48,7 +48,7 @@ LIBC_CLOSE_RET_TYPE tsocks_close(LIBC_CLOSE_SIG)
 	 * connection pointer is destroyed.
 	 */
 	if (conn) {
-		DBG("Close connection putting back ref");
+		DBG("[close] Close connection putting back ref");
 		connection_put_ref(conn);
 	}
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits