From 2e47a0f00904798c16a24aab93d9f9a5e42cd323 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 24 Apr 2004 22:34:31 +0000 Subject: [PATCH] Compare nicknames casei. svn:r1684 --- src/or/connection_or.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/connection_or.c b/src/or/connection_or.c index a68c870423..ce7ddc0b7e 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -215,7 +215,7 @@ static int connection_tls_finish_handshake(connection_t *conn) { if (conn->nickname) { /* I initiated this connection. */ - if (strcmp(conn->nickname, nickname)) { + if (strcasecmp(conn->nickname, nickname)) { log_fn(options.DirPort ? LOG_WARN : LOG_INFO, "Other side is '%s', but we tried to connect to '%s'", nickname, conn->nickname);