commit 0aac61f3d737da5c6973b56be8dcd00227de389c Author: David Goulet dgoulet@ev0ke.net Date: Sun Oct 16 18:50:44 2016 -0400
close: Prefix debug messages with [close]
Signed-off-by: David Goulet dgoulet@ev0ke.net --- 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@lists.torproject.org