Selaa lähdekoodia

and take the bang out

svn:r5042
Roger Dingledine 20 vuotta sitten
vanhempi
commit
c78aafe4b5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 {