httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1732228 - /httpd/httpd/trunk/server/mpm/event/event.c
Date Wed, 24 Feb 2016 20:49:03 GMT
Author: jim
Date: Wed Feb 24 20:49:03 2016
New Revision: 1732228

URL: http://svn.apache.org/viewvc?rev=1732228&view=rev
Log:
correct type

Modified:
    httpd/httpd/trunk/server/mpm/event/event.c

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=1732228&r1=1732227&r2=1732228&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Wed Feb 24 20:49:03 2016
@@ -2335,7 +2335,7 @@ static void *APR_THREAD_FUNC start_threa
     }
 
     /* 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



Mime
View raw message