mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
fix compile error in dirserv
(declare variables before the rest of the function) svn:r1896
This commit is contained in:
parent
ba14428d66
commit
41c9b8230d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user