aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4dd696f32..ae43a7df8 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 ||