mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Compare nicknames casei.
svn:r1684
This commit is contained in:
parent
c44016e86e
commit
2e47a0f009
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user