summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-15 21:10:58 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-15 21:10:58 +0000
commit51da58eccf9405d5dbd5e000dfaa76335caf749d (patch)
tree8935c42d06e572401a2b4e87e521491329042642
parente72e76cad62fb971a047582381354a083baa220a (diff)
downloadtor-51da58eccf9405d5dbd5e000dfaa76335caf749d.tar.gz
tor-51da58eccf9405d5dbd5e000dfaa76335caf749d.zip
fix braino in dirserv.
svn:r5075
-rw-r--r--src/or/dirserv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 4dd696f32f..ae43a7df8c 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -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 ||