httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r728545 - /httpd/httpd/trunk/server/mpm/experimental/event/event.c
Date Sun, 21 Dec 2008 22:54:07 GMT
Author: pquerna
Date: Sun Dec 21 14:54:07 2008
New Revision: 728545

URL: http://svn.apache.org/viewvc?rev=728545&view=rev
Log:
Fix mixed declarations and code.

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

Modified: httpd/httpd/trunk/server/mpm/experimental/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/experimental/event/event.c?rev=728545&r1=728544&r2=728545&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/experimental/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/experimental/event/event.c Sun Dec 21 14:54:07 2008
@@ -893,6 +893,7 @@
                                                 ap_mpm_callback_fn_t *cbfn,
                                                 void *baton)
 {
+    int inserted = 0;
     timer_event_t *ep;
     timer_event_t *te;
     /* oh yeah, and make locking smarter/fine grained. */
@@ -914,7 +915,6 @@
     te->when = t + apr_time_now();
 
     /* Okay, insert sorted by when.. */
-    int inserted = 0;
     for (ep = APR_RING_FIRST(&timer_ring);
          ep != APR_RING_SENTINEL(&timer_ring,
                                  timer_event_t, link);



Mime
View raw message