aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-03-22 05:37:59 +0000
committerRoger Dingledine <arma@torproject.org>2005-03-22 05:37:59 +0000
commit248867caf524a2675569813aeaf9eaf259e92652 (patch)
tree577d682f68748eac0b0a1a173f7f35ad821b0006 /src/common
parent8f9634345debc21e865d4e8146fac0db9ef7809b (diff)
downloadtor-248867caf524a2675569813aeaf9eaf259e92652.tar
tor-248867caf524a2675569813aeaf9eaf259e92652.tar.gz
bugfix: make smartlist_join_strings2 actually use the separator/terminator
svn:r3805
Diffstat (limited to 'src/common')
-rw-r--r--src/common/container.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c
index f99aa0386..8b07ac074 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;