]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
NO var declarations in the middle of the code.
authorGuenter Knauf <fuankg@apache.org>
Tue, 8 Apr 2008 12:30:05 +0000 (12:30 +0000)
committerGuenter Knauf <fuankg@apache.org>
Tue, 8 Apr 2008 12:30:05 +0000 (12:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645875 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c

index fbe4aa3db5c52c29c1573e2ebfad906c60b55132..d96c3125f79fd825a5aa014c33f909411b86aac0 100644 (file)
@@ -189,6 +189,7 @@ static int ap_process_http_connection(conn_rec *c)
     request_rec *r;
     conn_state_t *cs = c->cs;
     apr_socket_t *csd = NULL;
+    int mpm_state = 0;
 
     /*
      * Read and process each request found on our connection
@@ -220,7 +221,6 @@ static int ap_process_http_connection(conn_rec *c)
 
         ap_update_child_status(c->sbh, SERVER_BUSY_KEEPALIVE, NULL);
 
-        int mpm_state = 0;
         if (ap_mpm_query(AP_MPMQ_MPM_STATE, &mpm_state)) {
             break;
         }