From: Fabian Keil Date: Sun, 23 Dec 2007 15:24:56 +0000 (+0000) Subject: Reword "unrecognized directive" warning, use better X-Git-Tag: v_3_0_8~37 X-Git-Url: http://www.privoxy.org/gitweb/seealso.html?a=commitdiff_plain;h=806ef4d428babf1580bf8ea21e742740f4f4ebbd;p=privoxy.git Reword "unrecognized directive" warning, use better mark up and add a
. Fixes parts of #1856559. --- diff --git a/loadcfg.c b/loadcfg.c index f3a8f969..672f0415 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,4 +1,4 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.69 2007/10/27 13:02:27 fabiankeil Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.70 2007/12/15 14:24:05 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $ @@ -35,6 +35,9 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.69 2007/10/27 13:02:27 fabiankeil * * Revisions : * $Log: loadcfg.c,v $ + * Revision 1.70 2007/12/15 14:24:05 fabiankeil + * Plug memory leak if listen-address only specifies the port. + * * 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. @@ -1608,7 +1611,7 @@ struct configuration_spec * load_config(void) log_error(LOG_LEVEL_ERROR, "Ignoring unrecognized directive '%s' (%luul) in line %lu " "in configuration file (%s).", buf, hash_string(cmd), linenum, configfile); string_append(&config->proxy_args, - " WARNING: unrecognized directive, ignored"); + " Warning: ignored unrecognized directive above.
"); continue; /* *************************************************************************/