瀏覽代碼

and take the bang out

svn:r5042
Roger Dingledine 20 年之前
父節點
當前提交
c78aafe4b5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/config.c

+ 1 - 1
src/or/config.c

@@ -833,7 +833,7 @@ config_assign_value(config_format_t *fmt, or_options_t *options,
     break;
 
   case CONFIG_TYPE_CSV:
-    if (!*(smartlist_t**)lvalue) {
+    if (*(smartlist_t**)lvalue) {
       SMARTLIST_FOREACH(*(smartlist_t**)lvalue, char *, cp, tor_free(cp));
       smartlist_clear(*(smartlist_t**)lvalue);
     } else {