-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.21 2001/09/16 17:10:43 jongfoster Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.22 2001/09/22 16:36:59 jongfoster Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
*
* Revisions :
* $Log: loadcfg.c,v $
+ * Revision 1.22 2001/09/22 16:36:59 jongfoster
+ * Removing unused parameter fs from read_config_line()
+ *
* Revision 1.21 2001/09/16 17:10:43 jongfoster
* Moving function savearg() here, since it was the only thing left in
* showargs.c.
#define hash_actions_file 1196306641ul /* "actionsfile" */
#define hash_admin_address 4112573064ul /* "admin-address" */
+#define hash_buffer_limit 1881726070ul /* "buffer-limit */
#define hash_confdir 1978389ul /* "confdir" */
#define hash_debug 78263ul /* "debug" */
#define hash_deny_access 1227333715ul /* "deny-access" */
config->multi_threaded = 1;
config->hport = HADDR_PORT;
+ config->buffer_limit = 4096 * 1024;
if ((configfp = fopen(configfile, "r")) == NULL)
{
config->admin_address = strdup(arg);
continue;
+/****************************************************************************
+ * buffer-limit n
+ ****************************************************************************/
+ case hash_buffer_limit :
+ config->buffer_limit = (size_t) 1024 * atoi(arg);
+ continue;
+
/****************************************************************************
* confdir directory-name
****************************************************************************/