summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}