[or-cvs] fix bug in control mapaddress

Roger Dingledine arma at seul.org
Sun Feb 27 23:20:50 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	control.c 
Log Message:
fix bug in control mapaddress


Index: control.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- control.c	25 Feb 2005 20:46:13 -0000	1.44
+++ control.c	27 Feb 2005 23:20:48 -0000	1.45
@@ -486,7 +486,7 @@
   smartlist_free(elts);
 
   r = smartlist_join_strings(reply, "\n", 1, &sz);
-  send_control_done2(conn,sz,r);
+  send_control_done2(conn,r,sz);
 
   SMARTLIST_FOREACH(reply, char *, cp, tor_free(cp));
   smartlist_free(reply);



More information about the tor-commits mailing list