summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-06 16:48:36 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-06 16:48:36 +0000
commitb91fa66fc8fa34763097fa1df9d1b9387facf938 (patch)
treedde08e6aad01395c85e41bf4b4144e3c7a8a3837
parent78c95de9dab2ec463c609bcca15f5aba8bb3e8e1 (diff)
downloadnginx-b91fa66fc8fa34763097fa1df9d1b9387facf938.tar.gz
style fix: remove tabs
-rw-r--r--src/http/ngx_http_header_filter_module.c10
1 files changed, 5 insertions, 5 deletions
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;