summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index ff0e9663f6..c33e7ab444 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -569,7 +569,7 @@ static int
WRA_MORE_SEVERE(was_router_added_t a, was_router_added_t b)
{
if (b == ROUTER_ADDED_SUCCESSFULLY) {
- return a;
+ return 1;
} else if (b == ROUTER_ADDED_NOTIFY_GENERATOR) {
return !WRA_WAS_ADDED(a);
} else {