r15670@catbus: nickm | 2007-10-10 20:08:14 -0400

Restore a removed assert.


svn:r11861
This commit is contained in:
Nick Mathewson 2007-10-11 00:13:06 +00:00
parent a718fcb1c0
commit 487f985f5b

View File

@ -557,6 +557,7 @@ dirserv_add_multiple_descriptors(const char *desc, uint8_t purpose,
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;