Oops. We may not have a networkstatus list when we first parse the cached routers.

svn:r6248
This commit is contained in:
Nick Mathewson 2006-03-27 05:12:07 +00:00
parent 3e8c9a485f
commit c74bd877e2

View File

@ -1479,6 +1479,8 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg,
if (!routerlist)
router_get_routerlist();
if (!networkstatus_list)
networkstatus_list = smartlist_create();
id_digest = router->cache_info.identity_digest;