diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-24 22:34:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-24 22:34:31 +0000 |
commit | 2e47a0f00904798c16a24aab93d9f9a5e42cd323 (patch) | |
tree | bf9c615d9d4a10ef5b955ed3ea5e865061b6b12c | |
parent | c44016e86ec8dfd9147b2ca58e5277cb03a92561 (diff) | |
download | tor-2e47a0f00904798c16a24aab93d9f9a5e42cd323.tar tor-2e47a0f00904798c16a24aab93d9f9a5e42cd323.tar.gz |
Compare nicknames casei.
svn:r1684
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index a68c87042..ce7ddc0b7 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); |