summaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-07-19 21:26:24 +0000
committerRoger Dingledine <arma@torproject.org>2005-07-19 21:26:24 +0000
commiteedb7c243ec3d56a96981e3954b169633911b751 (patch)
tree2364ec1d42c55b2544b102e3d65f176a63cd710b /src/or/connection_or.c
parentf2bc79ba89e16b6980a3eac0b52a6f48d33196ef (diff)
downloadtor-eedb7c243ec3d56a96981e3954b169633911b751.tar.gz
tor-eedb7c243ec3d56a96981e3954b169633911b751.zip
be consistent about printing out key digest $'s when we're getting a
different key than we expect svn:r4609
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index f26c7876a3..008e401fe4 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -526,7 +526,7 @@ connection_or_check_valid_handshake(connection_t *conn, char *digest_rcvd)
if (strcasecmp(d,conn->nickname+1)) {
log_fn(severity,
"Identity key not as expected for router at %s:%d: wanted %s but got %s",
- conn->address, conn->port, conn->nickname, d);
+ conn->address, conn->port, conn->nickname+1, d);
control_event_or_conn_status(conn, OR_CONN_EVENT_FAILED);
as_advertised = 0;
}