aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;