httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1610323 - /httpd/httpd/trunk/server/mpm/event/event.c
Date Sun, 13 Jul 2014 23:26:12 GMT
Author: rjung
Date: Sun Jul 13 23:26:12 2014
New Revision: 1610323

URL: http://svn.apache.org/r1610323
Log:
Avoid C99 idiom.
Followup to r1604466.

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=1610323&r1=1610322&r2=1610323&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Sun Jul 13 23:26:12 2014
@@ -1745,7 +1745,8 @@ static void * APR_THREAD_FUNC listener_t
                 apr_skiplist_pop(timer_skiplist, NULL);
                 if (!te->canceled) { 
                     if (te->remove != NULL) {
-                        for (apr_pollfd_t **pfds = (te->remove); *pfds != NULL; pfds++)
{ 
+                        apr_pollfd_t **pfds;
+                        for (pfds = (te->remove); *pfds != NULL; pfds++) { 
                             apr_pollset_remove(event_pollset, *pfds);
                         }
                     }



Mime
View raw message