diff options
author | Linus Nordberg <linus@nordberg.se> | 2011-11-24 17:40:10 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-30 11:55:44 -0500 |
commit | 1c2c3314a9b8990533cc8632d0a02aa5f79950b6 (patch) | |
tree | 35d883fd4892396871b5330631dfc75cfe15bab5 /src/or/directory.c | |
parent | 19a82d293615f48acc2adf1aca1160982f247261 (diff) | |
download | tor-1c2c3314a9b8990533cc8632d0a02aa5f79950b6.tar.gz tor-1c2c3314a9b8990533cc8632d0a02aa5f79950b6.zip |
Add some logging and comments.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index a9ce483e34..43bef5ccc0 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1619,9 +1619,11 @@ connection_dir_client_reached_eof(dir_connection_t *conn) if (!reason) reason = tor_strdup("[no reason given]"); log_debug(LD_DIR, - "Received response from directory server '%s:%d': %d %s", + "Received response from directory server '%s:%d': %d %s " + "(purpose: %d)", conn->_base.address, conn->_base.port, status_code, - escaped(reason)); + escaped(reason), + conn->_base.purpose); /* now check if it's got any hints for us about our IP address. */ if (conn->dirconn_direct) { |