jwoolley 2003/09/17 23:23:50
Modified: misc Tag: APU_0_9_BRANCH apr_reslist.c
Log:
MFH r1.3:
Allow the Soft Max or the Hard Max to equal the Minimum number of resources.
Submitted by: Paul Querna <[EMAIL PROTECTED]>
Reviewed by: Aaron Bannert
Revision Changes Path
No revision
No revision
1.2.2.2 +1 -1 apr-util/misc/apr_reslist.c
Index: apr_reslist.c
===================================================================
RCS file: /home/cvs/apr-util/misc/apr_reslist.c,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -d -u -r1.2.2.1 -r1.2.2.2
--- apr_reslist.c 18 Sep 2003 06:19:58 -0000 1.2.2.1
+++ apr_reslist.c 18 Sep 2003 06:23:50 -0000 1.2.2.2
@@ -286,7 +286,7 @@
/* Do some sanity checks so we don't thrash around in the
* maintenance routine later. */
- if (min >= smax || min >= hmax || smax > hmax || ttl < 0) {
+ if (min > smax || min > hmax || smax > hmax || ttl < 0) {
return APR_EINVAL;
}