]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Avoid C99 idiom.
authorRainer Jung <rjung@apache.org>
Sun, 13 Jul 2014 23:26:12 +0000 (23:26 +0000)
committerRainer Jung <rjung@apache.org>
Sun, 13 Jul 2014 23:26:12 +0000 (23:26 +0000)
Followup to r1604466.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1610323 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c

index 3eb2ba2367373fca8f44fe1f5cc76a1e25b94ceb..6fffb822c1a5653d69e04154eda474d0704c6ead 100644 (file)
@@ -1745,7 +1745,8 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t * thd, void *dummy)
                 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);
                         }
                     }