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 {