From: Fabian Keil Date: Sat, 10 May 2008 09:03:16 +0000 (+0000) Subject: - Merge three string_append() calls. X-Git-Tag: v_3_0_9~111 X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=51ed536d35f5187b9b3d58627201cc2bda010770;p=privoxy.git - Merge three string_append() calls. - Remove useless assertion. --- diff --git a/loadcfg.c b/loadcfg.c index 65097462..6348f0f3 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,4 +1,4 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.74 2008/03/26 18:07:07 fabiankeil Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.75 2008/03/30 14:52:05 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $ @@ -35,6 +35,10 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.74 2008/03/26 18:07:07 fabiankeil * * Revisions : * $Log: loadcfg.c,v $ + * Revision 1.75 2008/03/30 14:52:05 fabiankeil + * Rename load_actions_file() and load_re_filterfile() + * as they load multiple files "now". + * * Revision 1.74 2008/03/26 18:07:07 fabiankeil * Add hostname directive. Closes PR#1918189. * @@ -1841,7 +1845,6 @@ static void savearg(char *command, char *argument, struct configuration_spec * c char * s; assert(command); - assert(*command); assert(argument); /* @@ -1856,9 +1859,7 @@ static void savearg(char *command, char *argument, struct configuration_spec * c } else { - string_append(&buf, "http://"); - string_append(&buf, CGI_SITE_2_HOST); - string_append(&buf, "/user-manual/"); + string_append(&buf, "http://" CGI_SITE_2_HOST "/user-manual/"); } string_append(&buf, CONFIG_HELP_PREFIX); string_join (&buf, string_toupper(command));