Skip to content
Snippets Groups Projects
Commit 2e47a0f0 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Compare nicknames casei.

svn:r1684
parent c44016e8
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment