fix braino in dirserv.

svn:r5075
This commit is contained in:
Nick Mathewson 2005-09-15 21:10:58 +00:00
parent e72e76cad6
commit 51da58eccf

View File

@ -171,9 +171,9 @@ dirserv_parse_fingerprint_file(const char *fname)
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 ||