From 67eb2fc00b66255750de74c6cbc883cef5d0da3a Mon Sep 17 00:00:00 2001 From: jongfoster Date: Thu, 7 Jun 2001 23:15:40 +0000 Subject: [PATCH 1/1] Removing config->proxy_args_gateways Missing return statement added to end_proxy_args(). --- showargs.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/showargs.c b/showargs.c index 6491418c..6bd48609 100644 --- a/showargs.c +++ b/showargs.c @@ -1,4 +1,4 @@ -const char showargs_rcs[] = "$Id: showargs.c,v 1.12 2001/06/04 10:41:52 swa Exp $"; +const char showargs_rcs[] = "$Id: showargs.c,v 1.13 2001/06/06 09:37:59 sarantis Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/showargs.c,v $ @@ -33,6 +33,9 @@ const char showargs_rcs[] = "$Id: showargs.c,v 1.12 2001/06/04 10:41:52 swa Exp * * Revisions : * $Log: showargs.c,v $ + * Revision 1.13 2001/06/06 09:37:59 sarantis + * Fix misplaced comment start. + * * Revision 1.12 2001/06/04 10:41:52 swa * show version string of cgi.h and cgi.c * @@ -291,12 +294,10 @@ void savearg(char *c, char *o, struct configuration_spec * config) *********************************************************************/ void init_proxy_args(int argc, const char *argv[], struct configuration_spec * config) { - const struct gateway *g; char * b = NULL; int i; freez(config->proxy_args_header); - freez(config->proxy_args_gateways); for (i=0; i < argc; i++) @@ -305,14 +306,6 @@ void init_proxy_args(int argc, const char *argv[], struct configuration_spec * c b = strsav(b, " "); } config->proxy_args_header = b; - - b = NULL; - for (g = gateways; g->name; g++) - { - b = strsav(b, g->name); - b = strsav(b, " "); - } - config->proxy_args_gateways = b; } @@ -523,6 +516,7 @@ char *end_proxy_args(struct configuration_spec * config) config->proxy_args_trailer = b; + return b; } -- 2.39.2