]> granicus.if.org Git - apache/commitdiff
correct type
authorJim Jagielski <jim@apache.org>
Wed, 24 Feb 2016 20:49:03 +0000 (20:49 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 24 Feb 2016 20:49:03 +0000 (20:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732228 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c

index ee22a64c506c0b3e78b7f44f3d1a740495c3441d..8fa179f44014f42881a8f63b25711c7572f4c084 100644 (file)
@@ -2335,7 +2335,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