[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10060: Oops; the "not in the routerlist" value for routerinfo_t.rou (tor/trunk/src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r10060: Oops; the "not in the routerlist" value for routerinfo_t.rou (tor/trunk/src/or)
- From: nickm@xxxxxxxx
- Date: Mon, 30 Apr 2007 10:32:23 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 30 Apr 2007 10:32:30 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: nickm
Date: 2007-04-30 10:32:22 -0400 (Mon, 30 Apr 2007)
New Revision: 10060
Modified:
tor/trunk/src/or/routerlist.c
Log:
Oops; the "not in the routerlist" value for routerinfo_t.routerlist_index is -1, not 0.
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-04-30 14:26:38 UTC (rev 10059)
+++ tor/trunk/src/or/routerlist.c 2007-04-30 14:32:22 UTC (rev 10060)
@@ -4776,7 +4776,7 @@
#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