Explorar el Código

and take the bang out

svn:r5042
Roger Dingledine hace 20 años
padre
commit
c78aafe4b5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {