# HG changeset patch # User Ruslan Ermilov # Date 1460476916 -10800 # Node ID 640288d0e1bc449a54ac1c85905e6fce780fac7d # Parent a3be359e6c7da738b0e9b0d116e50f1dc2ca2e00 Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse (as in e444e8f6538b). diff --git a/src/core/ngx_regex.c b/src/core/ngx_regex.c --- a/src/core/ngx_regex.c +++ b/src/core/ngx_regex.c @@ -32,7 +32,7 @@ static ngx_conf_post_t ngx_regex_pcre_j static ngx_command_t ngx_regex_commands[] = { { 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, 0, offsetof(ngx_regex_conf_t, pcre_jit),