[or-cvs] r17720: {tor} WRA_MORE_SEVERE is not WRA_GET_MORE_SEVERE. (tor/trunk/src/or)

nickm at seul.org nickm at seul.org
Mon Dec 22 04:36:52 UTC 2008


Author: nickm
Date: 2008-12-21 23:36:52 -0500 (Sun, 21 Dec 2008)
New Revision: 17720

Modified:
   tor/trunk/src/or/dirserv.c
Log:
WRA_MORE_SEVERE is not WRA_GET_MORE_SEVERE.

Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c	2008-12-22 01:16:14 UTC (rev 17719)
+++ tor/trunk/src/or/dirserv.c	2008-12-22 04:36:52 UTC (rev 17720)
@@ -569,7 +569,7 @@
 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 {



More information about the tor-commits mailing list