From: Eric Covener Date: Sat, 7 Sep 2013 12:44:09 +0000 (+0000) Subject: style consistency in winnt's worker_main X-Git-Tag: 2.5.0-alpha~5100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fb59d21c233e778086ffc2f91cc1e3d5f32d4be;p=apache style consistency in winnt's worker_main git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520760 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index bda0d71c73..b62fabdaae 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -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,