You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by aa...@apache.org on 2003/09/04 06:44:16 UTC

cvs commit: apr-util/misc apr_reslist.c

aaron       2003/09/03 21:44:16

  Modified:    misc     apr_reslist.c
  Log:
  Allow the Soft Max or the Hard Max to equal the Minimum number of resources.
  
  Submitted by:	Paul Querna <ch...@aphore.com>
  Reviewed by:	Aaron Bannert
  
  Revision  Changes    Path
  1.3       +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
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- apr_reslist.c	1 Jan 2003 00:02:22 -0000	1.2
  +++ apr_reslist.c	4 Sep 2003 04:44:16 -0000	1.3
  @@ -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;
       }