]> granicus.if.org Git - apache/commitdiff
Use offset which is smack dab in the middle.
authorJim Jagielski <jim@apache.org>
Mon, 25 Nov 2013 18:28:53 +0000 (18:28 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 25 Nov 2013 18:28:53 +0000 (18:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1545364 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/fdqueue.c
server/mpm/eventopt/fdqueue.c

index 782b41a01ae5a59053418dee12130e49ef1fe763..2ffa8880491c27b2da103dc7af7143aa31159eae 100644 (file)
@@ -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
 {
index 054803106efd3d467967d121bc7523e4bc510c4f..d372dcd9cf1f17f2d0169769a0780caca6ae696c 100644 (file)
@@ -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
 {