mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
r15670@catbus: nickm | 2007-10-10 20:08:14 -0400
Restore a removed assert. svn:r11861
This commit is contained in:
parent
a718fcb1c0
commit
487f985f5b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user