From b91fa66fc8fa34763097fa1df9d1b9387facf938 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 6 Mar 2009 16:48:36 +0000 Subject: style fix: remove tabs --- src/http/ngx_http_header_filter_module.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/http') diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c index 1874b5783..5e1be0ecc 100644 --- a/src/http/ngx_http_header_filter_module.c +++ b/src/http/ngx_http_header_filter_module.c @@ -322,12 +322,12 @@ ngx_http_header_filter(ngx_http_request_t *r) if (clcf->port_in_redirect) { #if (NGX_HTTP_SSL) - if (r->connection->ssl) - port = (port == 443) ? 0 : port; - else + if (r->connection->ssl) + port = (port == 443) ? 0 : port; + else #endif - port = (port == 80) ? 0 : port; - } + port = (port == 80) ? 0 : port; + } if (port) { len += sizeof(":65535") - 1; -- cgit