aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-07 16:37:08 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-07 16:37:08 +0000
commit0e993e6008aa0c0c5fc932bc0b84a46a9c681315 (patch)
tree735bbed65c5b59e3c40939e8c821be8925ca8192 /src/or
parent7b826f8fe47f20d784f42bb3f04c4597635c801f (diff)
downloadtor-0e993e6008aa0c0c5fc932bc0b84a46a9c681315.tar
tor-0e993e6008aa0c0c5fc932bc0b84a46a9c681315.tar.gz
r16523@catbus: nickm | 2007-11-07 11:35:49 -0500
Improve "tls error. breaking" message a little. svn:r12411
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 382802e3f..0dd2f9e43 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1917,7 +1917,8 @@ connection_read_to_buf(connection_t *conn, int *max_to_read)
conn->address);
return result;
CASE_TOR_TLS_ERROR_ANY:
- log_info(LD_NET,"tls error. breaking (nickname %s, address %s).",
+ log_info(LD_NET,"tls error [%s]. breaking (nickname %s, address %s).",
+ tor_tls_err_to_string(result),
or_conn->nickname ? or_conn->nickname : "not set",
conn->address);
return result;