소스 검색

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 {