aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_fastcgi_module.c
diff options
context:
space:
mode:
authorSergey Budnevitch <sb@waeme.net>2011-11-14 09:12:15 +0000
committerSergey Budnevitch <sb@waeme.net>2011-11-14 09:12:15 +0000
commit66a60a62cc002db31f8dd9c5112a92d55bf13fbd (patch)
treed360ad81ccf2c763894e12077b59a51736edd1b6 /src/http/modules/ngx_http_fastcgi_module.c
parent1dbd331849d53e7e9d3c6f76e57c11c3156a6840 (diff)
downloadnginx-66a60a62cc002db31f8dd9c5112a92d55bf13fbd.tar.gz
nginx-66a60a62cc002db31f8dd9c5112a92d55bf13fbd.zip
Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse.
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index 6f639acc2..8176be632 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -436,7 +436,7 @@ static ngx_command_t ngx_http_fastcgi_commands[] = {
&ngx_http_upstream_ignore_headers_masks },
{ ngx_string("fastcgi_catch_stderr"),
- NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
+ NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
ngx_conf_set_str_array_slot,
NGX_HTTP_LOC_CONF_OFFSET,
offsetof(ngx_http_fastcgi_loc_conf_t, catch_stderr),