[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11861: Restore a removed assert. (in tor/trunk: . src/or)
Author: nickm
Date: 2007-10-10 20:13:06 -0400 (Wed, 10 Oct 2007)
New Revision: 11861
Modified:
tor/trunk/
tor/trunk/src/or/dirserv.c
Log:
r15670@catbus: nickm | 2007-10-10 20:08:14 -0400
Restore a removed assert.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r15670] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c 2007-10-11 00:13:03 UTC (rev 11860)
+++ tor/trunk/src/or/dirserv.c 2007-10-11 00:13:06 UTC (rev 11861)
@@ -557,6 +557,7 @@
annotation_buf)) {
SMARTLIST_FOREACH(list, routerinfo_t *, ri, {
msg_out = NULL;
+ tor_assert(ri->purpose == purpose);
r_tmp = dirserv_add_descriptor(ri, &msg_out);
if (r_tmp < r) {
r = r_tmp;