From: Roger Dingledine Date: Tue, 22 Mar 2005 05:37:59 +0000 (+0000) Subject: bugfix: make smartlist_join_strings2 actually use the separator/terminator X-Git-Tag: tor-0.1.0.1-rc~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=248867caf524a2675569813aeaf9eaf259e92652;p=thirdparty%2Ftor.git bugfix: make smartlist_join_strings2 actually use the separator/terminator svn:r3805 --- diff --git a/src/common/container.c b/src/common/container.c index f99aa03862..8b07ac0744 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -337,7 +337,6 @@ char *smartlist_join_strings2(smartlist_t *sl, const char *join, 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;