aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 1504b3b450..384124df59 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -3329,10 +3329,7 @@ validate_recommended_package_line(const char *line)
cp = end_of_word + 1;
}
- if (n_entries == 0)
- return 0;
-
- return 1;
+ return (n_entries == 0) ? 0 : 1;
}
/** Release all storage used by the directory server. */