Mercurial > hg > nginx-quic
changeset 2551:0e6f00346fa1
style fix: remove tabs
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 06 Mar 2009 16:48:36 +0000 |
parents | 5e87ddb4764f |
children | 0cf6662e4448 |
files | src/http/ngx_http_header_filter_module.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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_ 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;