Removing config->proxy_args_gateways
[privoxy.git] / showargs.c
index 0dd2ef3..6bd4860 100644 (file)
@@ -1,4 +1,4 @@
-const char showargs_rcs[] = "$Id: showargs.c,v 1.11 2001/06/03 11:03:48 oes 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 $
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/showargs.c,v $
@@ -33,6 +33,12 @@ const char showargs_rcs[] = "$Id: showargs.c,v 1.11 2001/06/03 11:03:48 oes Exp
  *
  * Revisions   :
  *    $Log: showargs.c,v $
  *
  * 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
+ *
  *    Revision 1.11  2001/06/03 11:03:48  oes
  *    Makefile/in
  *
  *    Revision 1.11  2001/06/03 11:03:48  oes
  *    Makefile/in
  *
@@ -288,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)
 {
  *********************************************************************/
 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);
    char * b = NULL;
    int i;
 
    freez(config->proxy_args_header);
-   freez(config->proxy_args_gateways);
  
    
    for (i=0; i < argc; i++)
  
    
    for (i=0; i < argc; i++)
@@ -302,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 = 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;
 }
 
 
 }
 
 
@@ -514,12 +510,13 @@ char *end_proxy_args(struct configuration_spec * config)
    b = strsav(b, "  <li><code>#define <b>FAST_REDIRECTS</b></code> - Enables intercepting remote script redirects.</li>\n");
 #else /* ifndef FAST_REDIRECTS */
    b = strsav(b, "  <li><code>#undef <b>FAST_REDIRECTS</b></code> - Disables intercepting remote script redirects.</li>\n");
    b = strsav(b, "  <li><code>#define <b>FAST_REDIRECTS</b></code> - Enables intercepting remote script redirects.</li>\n");
 #else /* ifndef FAST_REDIRECTS */
    b = strsav(b, "  <li><code>#undef <b>FAST_REDIRECTS</b></code> - Disables intercepting remote script redirects.</li>\n");
-#endif  ndef /* FAST_REDIRECTS */
+#endif /* ndef FAST_REDIRECTS */
 
    b = strsav(b, "</ul>\n<br>\n");
 
    config->proxy_args_trailer = b;
 
 
    b = strsav(b, "</ul>\n<br>\n");
 
    config->proxy_args_trailer = b;
 
+   return b;
 }
 
 
 }