From 19b5b8531699493e10e55f1fdb0e0a8b4b9902b6 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 5 May 2014 12:40:47 +0000 Subject: [PATCH] reformat only (get rid of unnecessary block scope) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1592511 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_util.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index f57f208e44..9eb6aa80b6 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -2328,16 +2328,15 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r, } /* Get the server port for the Via headers */ - { - server_port = ap_get_server_port(r); - if (ap_is_default_port(server_port, r)) { - strcpy(server_portstr,""); - } - else { - apr_snprintf(server_portstr, server_portstr_size, ":%d", - server_port); - } + server_port = ap_get_server_port(r); + if (ap_is_default_port(server_port, r)) { + strcpy(server_portstr,""); } + else { + apr_snprintf(server_portstr, server_portstr_size, ":%d", + server_port); + } + /* check if ProxyBlock directive on this host */ if (OK != ap_proxy_checkproxyblock(r, conf, uri->hostname, proxyname ? NULL : conn->addr)) { -- 2.40.0