Parcourir la source

and take the bang out

svn:r5042
Roger Dingledine il y a 20 ans
Parent
commit
c78aafe4b5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 {