comparison src/http/modules/ngx_http_fastcgi_module.c @ 4273:e444e8f6538b

Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse.
author Sergey Budnevitch <sb@waeme.net>
date Mon, 14 Nov 2011 09:12:15 +0000
parents 7898857ff34b
children e4b8255e44c3
comparison
equal deleted inserted replaced
4272:260d591cb6a3 4273:e444e8f6538b
434 NGX_HTTP_LOC_CONF_OFFSET, 434 NGX_HTTP_LOC_CONF_OFFSET,
435 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.ignore_headers), 435 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.ignore_headers),
436 &ngx_http_upstream_ignore_headers_masks }, 436 &ngx_http_upstream_ignore_headers_masks },
437 437
438 { ngx_string("fastcgi_catch_stderr"), 438 { ngx_string("fastcgi_catch_stderr"),
439 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 439 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
440 ngx_conf_set_str_array_slot, 440 ngx_conf_set_str_array_slot,
441 NGX_HTTP_LOC_CONF_OFFSET, 441 NGX_HTTP_LOC_CONF_OFFSET,
442 offsetof(ngx_http_fastcgi_loc_conf_t, catch_stderr), 442 offsetof(ngx_http_fastcgi_loc_conf_t, catch_stderr),
443 NULL }, 443 NULL },
444 444