Browse Source

bugfix: make smartlist_join_strings2 actually use the separator/terminator

svn:r3805
Roger Dingledine 20 years ago
parent
commit
248867caf5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/common/container.c

+ 0 - 1
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;