Browse Source

Compare nicknames casei.

svn:r1684
Nick Mathewson 21 years ago
parent
commit
2e47a0f009
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/connection_or.c

+ 1 - 1
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);