|
From: <gne...@us...> - 2009-05-15 08:31:44
|
Update of /cvsroot/aolserver/aolserver/nsd In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29416/nsd Modified Files: pools.c Log Message: - Allowing maxconns to be set to 0 Index: pools.c =================================================================== RCS file: /cvsroot/aolserver/aolserver/nsd/pools.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** pools.c 31 Jan 2009 21:23:47 -0000 1.15 --- pools.c 15 May 2009 08:31:27 -0000 1.16 *************** *** 202,207 **** return TCL_ERROR; } ! if (poolPtr->threads.maxconns < 1) { ! Tcl_SetResult(interp, "maxconns cannot be less than 1", TCL_STATIC); return TCL_ERROR; } --- 202,207 ---- return TCL_ERROR; } ! if (poolPtr->threads.maxconns < 0) { ! Tcl_SetResult(interp, "maxconns cannot be less than 0", TCL_STATIC); return TCL_ERROR; } |