X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=loadcfg.c;h=f3a8f96910b9ca5c6cc8939bfca81f3bd1dbb125;hp=334f07f860cc0a620c400c0854f0bfe0401cc45e;hb=0e2be80c3229e207936c707d42630914eef3caaa;hpb=8defbd56623783ab1c336d64f411eeae397c3f33 diff --git a/loadcfg.c b/loadcfg.c index 334f07f8..f3a8f969 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,4 +1,4 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.68 2007/10/19 16:32:34 fabiankeil Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.69 2007/10/27 13:02:27 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $ @@ -35,6 +35,10 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.68 2007/10/19 16:32:34 fabiankeil * * Revisions : * $Log: loadcfg.c,v $ + * Revision 1.69 2007/10/27 13:02:27 fabiankeil + * Relocate daemon-mode-related log messages to make sure + * they aren't shown again in case of configuration reloads. + * * Revision 1.68 2007/10/19 16:32:34 fabiankeil * Plug memory leak introduced with my last commit. * @@ -1688,7 +1692,11 @@ struct configuration_spec * load_config(void) } if (*config->haddr == '\0') { - config->haddr = NULL; + /* + * Only the port specified. We stored it in config->hport + * and don't need its text representation anymore. + */ + freez(config->haddr); } }