[or-cvs] fix compile error in dirserv
Roger Dingledine
arma at seul.org
Wed May 19 19:42:52 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
dirserv.c
Log Message:
fix compile error in dirserv
(declare variables before the rest of the function)
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/src/or/dirserv.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- dirserv.c 18 May 2004 17:41:40 -0000 1.50
+++ dirserv.c 19 May 2004 19:42:50 -0000 1.51
@@ -443,8 +443,10 @@
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);
More information about the tor-commits
mailing list