backport r10832

svn:r10833
This commit is contained in:
Roger Dingledine 2007-07-16 00:14:38 +00:00
parent 17759c320e
commit 0e34c68fd4
2 changed files with 8 additions and 6 deletions

View File

@ -29,8 +29,10 @@ Changes in version 0.1.2.15 - 2007-07-??
guard list unless we need to.
o Minor bugfixes (directory):
- Count the number of authorities that recommend each version
correctly. Previously, we were under-counting by 1.
- Correctly count the number of authorities that recommend each
version. Previously, we were under-counting by 1.
- Fix a potential crash bug when we load many server descriptors at
once and some of them make others of them obsolete. Fixes bug 458.
o Minor bugfixes (hidden services):
- Stop tearing down the whole circuit when the user asks for a

View File

@ -2364,13 +2364,13 @@ router_load_routers_from_string(const char *s, size_t len,
}
}
if (router_add_to_routerlist(ri, &msg, from_cache, !from_cache) >= 0)
if (router_add_to_routerlist(ri, &msg, from_cache, !from_cache) >= 0) {
smartlist_add(changed, ri);
control_event_descriptors_changed(changed);
smartlist_clear(changed);
}
});
if (smartlist_len(changed))
control_event_descriptors_changed(changed);
routerlist_assert_ok(routerlist);
router_rebuild_store(0);