instead of setting it to 1 when it is 0 or negative. The default should
be unlimited sessions.
$Log$
+ Revision 620.4 2004/03/30 03:11:07 ajc
+ * control.c: when config.c_maxsessions is unset or negative, set it to 0
+ instead of setting it to 1 when it is 0 or negative. The default should
+ be unlimited sessions.
+
Revision 620.3 2004/03/29 16:05:02 ajc
* begin_critical_section() -- bypass transaction checking for S_FLOORCACHE
sections, to avoid crashing the db layer
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
break;
case 14:
config.c_maxsessions = atoi(buf);
- if (config.c_maxsessions < 1)
- config.c_maxsessions = 1;
+ if (config.c_maxsessions < 0)
+ config.c_maxsessions = 0;
break;
case 15:
/* placeholder -- field no longer in use */