diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-03-27 05:12:07 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-03-27 05:12:07 +0000 |
commit | c74bd877e221d67999f81844d33c45e9285f8410 (patch) | |
tree | a378bbdae710136c764cda6dc277593d7922cedc | |
parent | 3e8c9a485f280a70122ca8426a77181bce692976 (diff) | |
download | tor-c74bd877e221d67999f81844d33c45e9285f8410.tar.gz tor-c74bd877e221d67999f81844d33c45e9285f8410.zip |
Oops. We may not have a networkstatus list when we first parse the cached routers.
svn:r6248
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 37a36abac2..33f47684c6 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -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; |