aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-01 14:05:20 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-09-01 14:05:20 +0000
commit0c16f73b4e376439a3fb6ae71e45b997cba9e971 (patch)
tree57f93fde27321228dd780402446c7322e530538a
parent63c78f3c34f75ec1b2e0df8daf28b7f356955b6d (diff)
downloadnginx-0c16f73b4e376439a3fb6ae71e45b997cba9e971.tar.gz
nginx-0c16f73b4e376439a3fb6ae71e45b997cba9e971.zip
style fix: remove tabs and trailing spaces
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c2
-rw-r--r--src/http/ngx_http.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index 8d57a46a2..de149ac31 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -1170,7 +1170,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
u->headers_in.status_line.len =
sizeof("302 Moved Temporarily") - 1;
u->headers_in.status_line.data =
- (u_char *) "302 Moved Temporarily";
+ (u_char *) "302 Moved Temporarily";
} else {
u->headers_in.status_n = 200;
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 492cfa065..7b109cace 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1779,11 +1779,11 @@ ngx_http_merge_types(ngx_conf_t *cf, ngx_array_t *keys, ngx_hash_t *types_hash,
if (prev_keys == NULL) {
- if (ngx_http_set_default_types(cf, &prev_keys, default_types)
+ if (ngx_http_set_default_types(cf, &prev_keys, default_types)
!= NGX_OK)
{
- return NGX_CONF_ERROR;
- }
+ return NGX_CONF_ERROR;
+ }
}
hash.hash = prev_types_hash;