Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse (as in e444e8f6538b).

This commit is contained in:
Ruslan Ermilov 2016-04-12 19:01:56 +03:00
parent 35f05dd51f
commit 400d42437c

View File

@ -32,7 +32,7 @@ static ngx_conf_post_t ngx_regex_pcre_jit_post = { ngx_regex_pcre_jit };
static ngx_command_t ngx_regex_commands[] = { static ngx_command_t ngx_regex_commands[] = {
{ ngx_string("pcre_jit"), { ngx_string("pcre_jit"),
NGX_MAIN_CONF|NGX_DIRECT_CONF|NGX_CONF_TAKE1, NGX_MAIN_CONF|NGX_DIRECT_CONF|NGX_CONF_FLAG,
ngx_conf_set_flag_slot, ngx_conf_set_flag_slot,
0, 0,
offsetof(ngx_regex_conf_t, pcre_jit), offsetof(ngx_regex_conf_t, pcre_jit),