瀏覽代碼

bugfix: make smartlist_join_strings2 actually use the separator/terminator

svn:r3805
Roger Dingledine 20 年之前
父節點
當前提交
248867caf5
共有 1 個文件被更改,包括 0 次插入1 次删除
  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;