From: Jim Jagielski Date: Mon, 25 Nov 2013 18:28:53 +0000 (+0000) Subject: Use offset which is smack dab in the middle. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23110aa02e0b3c5600ea24e5444f6105bcf2d91f;p=thirdparty%2Fapache%2Fhttpd.git Use offset which is smack dab in the middle. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1545364 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/fdqueue.c b/server/mpm/event/fdqueue.c index 782b41a01ae..2ffa8880491 100644 --- a/server/mpm/event/fdqueue.c +++ b/server/mpm/event/fdqueue.c @@ -17,7 +17,7 @@ #include "fdqueue.h" #include "apr_atomic.h" -static apr_int32_t zero_pt = (APR_INT32_MAX-1)>>2; +static apr_int32_t zero_pt = APR_INT32_MAX/2; struct recycled_pool { diff --git a/server/mpm/eventopt/fdqueue.c b/server/mpm/eventopt/fdqueue.c index 054803106ef..d372dcd9cf1 100644 --- a/server/mpm/eventopt/fdqueue.c +++ b/server/mpm/eventopt/fdqueue.c @@ -17,7 +17,7 @@ #include "fdqueue.h" #include "apr_atomic.h" -static apr_int32_t zero_pt = (APR_INT32_MAX-1)>>2; +static apr_int32_t zero_pt = APR_INT32_MAX/2; typedef struct recycled_pool {