[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Compare nicknames casei.
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv31862/src/or
Modified Files:
connection_or.c
Log Message:
Compare nicknames casei.
Index: connection_or.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection_or.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- connection_or.c 24 Apr 2004 22:17:50 -0000 1.95
+++ connection_or.c 24 Apr 2004 22:34:31 -0000 1.96
@@ -215,7 +215,7 @@
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);