Mercurial > hg > nginx
comparison src/http/ngx_http_header_filter_module.c @ 2551:0e6f00346fa1
style fix: remove tabs
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 06 Mar 2009 16:48:36 +0000 |
parents | c843171d5dc2 |
children | ae4744c28620 |
comparison
equal
deleted
inserted
replaced
2550:5e87ddb4764f | 2551:0e6f00346fa1 |
---|---|
320 + r->headers_out.location->value.len + 2; | 320 + r->headers_out.location->value.len + 2; |
321 | 321 |
322 if (clcf->port_in_redirect) { | 322 if (clcf->port_in_redirect) { |
323 | 323 |
324 #if (NGX_HTTP_SSL) | 324 #if (NGX_HTTP_SSL) |
325 if (r->connection->ssl) | 325 if (r->connection->ssl) |
326 port = (port == 443) ? 0 : port; | 326 port = (port == 443) ? 0 : port; |
327 else | 327 else |
328 #endif | 328 #endif |
329 port = (port == 80) ? 0 : port; | 329 port = (port == 80) ? 0 : port; |
330 } | 330 } |
331 | 331 |
332 if (port) { | 332 if (port) { |
333 len += sizeof(":65535") - 1; | 333 len += sizeof(":65535") - 1; |
334 } | 334 } |
335 | 335 |