Compare nicknames casei.

svn:r1684
This commit is contained in:
Nick Mathewson 2004-04-24 22:34:31 +00:00
parent c44016e86e
commit 2e47a0f009

View File

@ -215,7 +215,7 @@ static int connection_tls_finish_handshake(connection_t *conn) {
if (conn->nickname) { if (conn->nickname) {
/* I initiated this connection. */ /* I initiated this connection. */
if (strcmp(conn->nickname, nickname)) { if (strcasecmp(conn->nickname, nickname)) {
log_fn(options.DirPort ? LOG_WARN : LOG_INFO, log_fn(options.DirPort ? LOG_WARN : LOG_INFO,
"Other side is '%s', but we tried to connect to '%s'", "Other side is '%s', but we tried to connect to '%s'",
nickname, conn->nickname); nickname, conn->nickname);