Crashing dirservers on startup is often considered bad form.

svn:r4874
This commit is contained in:
Nick Mathewson 2005-08-26 23:04:12 +00:00
parent 71c4173bb6
commit 70fe2a6cee

View File

@ -1064,7 +1064,8 @@ router_load_routerlist_from_directory(const char *s,
smartlist_t *changed = smartlist_create();
SMARTLIST_FOREACH(new_list->routers, routerinfo_t *, r,
{
if (router_add_to_routerlist(r,NULL)==0)
char *msg;
if (router_add_to_routerlist(r,&msg)==0)
smartlist_add(changed, r);
});
smartlist_clear(new_list->routers);