[or-cvs] Initialize msg_len

Nick Mathewson nickm at seul.org
Thu Mar 10 18:46:13 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv32392/src/or

Modified Files:
	control.c 
Log Message:
Initialize msg_len

Index: control.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- control.c	10 Mar 2005 06:15:46 -0000	1.53
+++ control.c	10 Mar 2005 18:46:11 -0000	1.54
@@ -599,6 +599,7 @@
   smartlist_split_string(questions, body, "\n",
                          SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);
   answers = smartlist_create();
+  msg_len = 0;
   SMARTLIST_FOREACH(questions, const char *, q,
   {
     ans = handle_getinfo_helper(q);



More information about the tor-commits mailing list