]> git.kaiwu.me - nginx.git/commitdiff
style fix: remove tabs
authorIgor Sysoev <igor@sysoev.ru>
Fri, 6 Mar 2009 16:48:36 +0000 (16:48 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 6 Mar 2009 16:48:36 +0000 (16:48 +0000)
src/http/ngx_http_header_filter_module.c

index 1874b57830b9ccc329863dce58ee7f0d8e154396..5e1be0ecce8993715b88b36bdeeb90dceb03de43 100644 (file)
@@ -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;