commit | ecee03cdd3ccda995ab38c63894f3361b47151b2 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Tue Apr 12 19:01:56 2016 +0300 |
committer | Ruslan Ermilov <ru@nginx.com> | Tue Apr 12 19:01:56 2016 +0300 |
tree | 3fb6e0a0f8e26d07e79883a86caa918cd203d37b | |
parent | afad85ce730963c4ef29546bd46b59705aacef7d [diff] |
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 index 416622d..9939dce 100644 --- a/src/core/ngx_regex.c +++ b/src/core/ngx_regex.c
@@ -32,7 +32,7 @@ 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),