[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] bugfix: make smartlist_join_strings2 actually use the separ...



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

Modified Files:
	container.c 
Log Message:
bugfix: make smartlist_join_strings2 actually use the separator/terminator


Index: container.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/container.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- container.c	28 Feb 2005 02:21:40 -0000	1.20
+++ container.c	22 Mar 2005 05:37:59 -0000	1.21
@@ -337,7 +337,6 @@
 
   tor_assert(sl);
   tor_assert(join);
-  join_len = strlen(join);
   for (i = 0; i < sl->num_used; ++i) {
     n += strlen(sl->list[i]);
     n += join_len;