diff options
author | Roger Dingledine <arma@torproject.org> | 2004-05-19 19:42:50 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-05-19 19:42:50 +0000 |
commit | 41c9b8230d7e30c6368e415a92859e92d171c838 (patch) | |
tree | f4169788d04817512ba8ac5094ac733ea8f4bb52 | |
parent | ba14428d664e3877d29e74087f326620146a15cb (diff) | |
download | tor-41c9b8230d7e30c6368e415a92859e92d171c838.tar tor-41c9b8230d7e30c6368e415a92859e92d171c838.tar.gz |
fix compile error in dirserv
(declare variables before the rest of the function)
svn:r1896
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |