]> granicus.if.org Git - apache/commitdiff
style consistency in winnt's worker_main
authorEric Covener <covener@apache.org>
Sat, 7 Sep 2013 12:44:09 +0000 (12:44 +0000)
committerEric Covener <covener@apache.org>
Sat, 7 Sep 2013 12:44:09 +0000 (12:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520760 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/child.c

index bda0d71c73ba72e60c28804ac11f17de119ceae7..b62fabdaae70597444eadf1c8962d7fab20917b6 100644 (file)
@@ -846,12 +846,12 @@ static DWORD __stdcall worker_main(void *thread_num_val)
                                      context->sock, thread_num, sbh,
                                      context->ba);
 
-        if (!c)
-        {
+        if (!c) {
             /* ap_run_create_connection closes the socket on failure */
             context->accept_socket = INVALID_SOCKET;
-            if (e)
+            if (e) { 
                 apr_bucket_free(e);
+            }
             continue;
         }
 
@@ -869,17 +869,14 @@ static DWORD __stdcall worker_main(void *thread_num_val)
             c->aborted = 1;
         }
 
-        if (e && c->aborted)
-        {
+        if (e && c->aborted) {
             apr_bucket_free(e);
         }
-        else
-        {
+        else {
             ap_set_module_config(c->conn_config, &mpm_winnt_module, context);
         }
 
-        if (!c->aborted)
-        {
+        if (!c->aborted) {
             ap_run_process_connection(c);
 
             apr_socket_opt_get(context->sock, APR_SO_DISCONNECTED,