From 41c9b8230d7e30c6368e415a92859e92d171c838 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 19 May 2004 19:42:50 +0000 Subject: fix compile error in dirserv (declare variables before the rest of the function) svn:r1896 --- src/or/dirserv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 6724459b2..0e57983a3 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -443,8 +443,10 @@ list_running_servers(char **nicknames_out) char *cp; int i; int length; + smartlist_t *nicknames; + *nicknames_out = NULL; - smartlist_t *nicknames = smartlist_create(); + nicknames = smartlist_create(); smartlist_add(nicknames, options.Nickname); get_connection_array(&connection_array, &n_conns); -- cgit v1.2.3