diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-22 04:36:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-22 04:36:52 +0000 |
commit | df22dcb602ff45f32444ba1f882d092996345771 (patch) | |
tree | 57b16ea2d2ba40697112855c5c4bb0912b1839b4 /src | |
parent | 61055ae719307471aef3dea4388c4bcd59b4c580 (diff) | |
download | tor-df22dcb602ff45f32444ba1f882d092996345771.tar.gz tor-df22dcb602ff45f32444ba1f882d092996345771.zip |
WRA_MORE_SEVERE is not WRA_GET_MORE_SEVERE.
svn:r17720
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dirserv.c | 2 |
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 { |