From b9016bd18faa5d470fad0c57985449c5d5c6fcb6 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 23 Mar 2005 08:40:11 +0000 Subject: Fix several bugs (including some crashes) related to control interface; implement missing desc/name functionality. svn:r3836 --- src/or/dirserv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/or/dirserv.c') diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 12641c714b..59768f7dd8 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; -- cgit v1.2.3-54-g00ecf