[or-cvs] fix braino in dirserv.
Nick Mathewson
nickm at seul.org
Thu Sep 15 21:11:00 UTC 2005
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv757/src/or
Modified Files:
dirserv.c
Log Message:
fix braino in dirserv.
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -d -r1.233 -r1.234
--- dirserv.c 15 Sep 2005 14:39:05 -0000 1.233
+++ dirserv.c 15 Sep 2005 21:10:58 -0000 1.234
@@ -171,9 +171,9 @@
continue;
}
if (!is_legal_nickname(nickname) &&
- !strcasecmp(nickname, "!reject") &&
- !strcasecmp(nickname, "!invalid")) {
- log(LOG_NOTICE, "Invalid nickname '%s' too long in fingerprint file. Skipping.", nickname);
+ strcasecmp(nickname, "!reject") &&
+ strcasecmp(nickname, "!invalid")) {
+ log(LOG_NOTICE, "Invalid nickname '%s' in fingerprint file. Skipping.", nickname);
continue;
}
if (strlen(fingerprint) != FINGERPRINT_LEN ||
More information about the tor-commits
mailing list