X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=loadcfg.c;h=77f2b5502737eccb867620de432ed98356edc4ba;hp=cf6fa9e11e6c0622c3e6eca0dfc37075383f798a;hb=775741842486fe5aaa55bf88db7aab3b86c9f504;hpb=1229c1bd3d1494ed3eb583f64c46a7b19e3cce19 diff --git a/loadcfg.c b/loadcfg.c index cf6fa9e1..77f2b550 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,4 +1,3 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.164 2017/06/26 12:11:13 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $ @@ -101,8 +100,6 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.164 2017/06/26 12:11:13 fabiankei */ #define DEFAULT_LISTEN_BACKLOG 128 -const char loadcfg_h_rcs[] = LOADCFG_H_VERSION; - #ifdef FEATURE_TOGGLE /* Privoxy is enabled by default. */ int global_toggle_state = 1; @@ -1990,9 +1987,11 @@ struct configuration_spec * load_config(void) /* FIXME: end kludge */ - config->need_bind = 1; - - if (current_configfile) + if (current_configfile == NULL) + { + config->need_bind = 1; + } + else { struct configuration_spec * oldcfg = (struct configuration_spec *) current_configfile->f;