apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: apr-util/misc apr_reslist.c
Date Thu, 04 Sep 2003 04:44:16 GMT
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 <chip@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;
       }
   
  
  
  

Mime
View raw message