From: Jeff Trawick Date: Mon, 5 May 2014 12:40:47 +0000 (+0000) Subject: reformat only (get rid of unnecessary block scope) X-Git-Tag: 2.5.0-alpha~4216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19b5b8531699493e10e55f1fdb0e0a8b4b9902b6;p=apache 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 --- 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)) {