diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-02 14:22:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-02 14:22:21 -0400 |
commit | 1bfda600c338cd8f7d6b9acc7613b5567e6ee03f (patch) | |
tree | c975c6ff132d9aa2b7431a82c51b041722b55f3a /src/or/main.c | |
parent | 07656d70ed3bd71fa1eec229c823187864494e9c (diff) | |
download | tor-1bfda600c338cd8f7d6b9acc7613b5567e6ee03f.tar.gz tor-1bfda600c338cd8f7d6b9acc7613b5567e6ee03f.zip |
Add a TOR_SOCKET_T_FORMAT construction for logging sockets.
We need this since win64 has a 64-bit SOCKET type.
Based on a patch from yayooo for 7260, forward-ported to 0.2.4.
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 0ba28db05e..d4c84fb889 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -812,7 +812,7 @@ conn_close_if_marked(int i) } #endif - log_debug(LD_NET,"Cleaning up connection (fd %d).",conn->s); + log_debug(LD_NET,"Cleaning up connection (fd "TOR_SOCKET_T_FORMAT").",conn->s); /* If the connection we are about to close was trying to connect to a proxy server and failed, the client won't be able to use that |