From: Nick Mathewson Date: Mon, 30 Apr 2007 14:32:22 +0000 (+0000) Subject: Oops; the "not in the routerlist" value for routerinfo_t.routerlist_index is -1,... X-Git-Tag: tor-0.2.0.1-alpha~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b26a076c6f4f9ed35444f328b5d274b93493f24;p=thirdparty%2Ftor.git Oops; the "not in the routerlist" value for routerinfo_t.routerlist_index is -1, not 0. svn:r10060 --- diff --git a/src/or/routerlist.c b/src/or/routerlist.c index c51fbbad56..93e0019de8 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4776,7 +4776,7 @@ routerlist_check_bug_417(void) #endif } - tor_assert(ri_generated->routerlist_index == 0); + tor_assert(ri_generated->routerlist_index == -1); } /** Allocate and return a new string representing the contact info