From 43625092ad7917583caf88cf56756fa80dafac97 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Mon, 25 Nov 2013 18:28:53 +0000 Subject: [PATCH] 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 --- server/mpm/event/fdqueue.c | 2 +- server/mpm/eventopt/fdqueue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mpm/event/fdqueue.c b/server/mpm/event/fdqueue.c index 782b41a01a..2ffa888049 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 054803106e..d372dcd9cf 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 { -- 2.40.0