diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-23 08:40:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-23 08:40:11 +0000 |
commit | b9016bd18faa5d470fad0c57985449c5d5c6fcb6 (patch) | |
tree | 412b8ed38b1a60c6f2ebca9b27718d813f78409c /src/or/dirserv.c | |
parent | 291548c4e434b15b6eb34b9cc9a155d9d11c0527 (diff) | |
download | tor-b9016bd18faa5d470fad0c57985449c5d5c6fcb6.tar tor-b9016bd18faa5d470fad0c57985449c5d5c6fcb6.tar.gz |
Fix several bugs (including some crashes) related to control interface; implement missing desc/name functionality.
svn:r3836
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 12641c714..59768f7dd 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -528,6 +528,9 @@ list_server_status(char **running_routers_out, char **router_status_out) rr_entries = smartlist_create(); rs_entries = smartlist_create(); + if (!descriptor_list) + descriptor_list = smartlist_create(); + SMARTLIST_FOREACH(descriptor_list, routerinfo_t *, ri, { int is_live; |