]> granicus.if.org Git - apache/commitdiff
Merge r1732228 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 10 Oct 2016 12:32:38 +0000 (12:32 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 10 Oct 2016 12:32:38 +0000 (12:32 +0000)
correct type

Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1764078 13f79535-47bb-0310-9956-ffa450edef68

STATUS
server/mpm/event/event.c

diff --git a/STATUS b/STATUS
index 9b3ef7cbae0b600de60735aaa1b0b3ab8b028aea..40d4737a79836a46838ef2f76769437ea78da3dc 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -117,10 +117,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  *) event: Don't assume sizeof.
-     trunk patch: http://svn.apache.org/r1732228
-     2.4.x patch: trunk works
-     +1: jim, ylavic, elukey
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
index e53ea0f5ff209a932ca32f1f853583256e0e062e..9871a5f0f07203f7adf81f9f4073c0687fb3c983 100644 (file)
@@ -2065,7 +2065,7 @@ static void *APR_THREAD_FUNC start_threads(apr_thread_t * thd, void *dummy)
     }
 
     /* Create the main pollset */
-    for (i = 0; i < sizeof(good_methods) / sizeof(void*); i++) {
+    for (i = 0; i < sizeof(good_methods) / sizeof(good_methods[0]); i++) {
         rv = apr_pollset_create_ex(&event_pollset,
                             threads_per_child*2, /* XXX don't we need more, to handle
                                                 * connections in K-A or lingering