diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-04-12 19:01:56 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-04-12 19:01:56 +0300 |
commit | 400d42437cd7aba791ec2d874fe9badf6446638c (patch) | |
tree | 3fb6e0a0f8e26d07e79883a86caa918cd203d37b /src/core/ngx_regex.c | |
parent | 35f05dd51fd13433c883eb5f9f9d3a0ea99ff44d (diff) | |
download | nginx-400d42437cd7aba791ec2d874fe9badf6446638c.tar.gz nginx-400d42437cd7aba791ec2d874fe9badf6446638c.zip |
Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse (as in e444e8f6538b).
Diffstat (limited to 'src/core/ngx_regex.c')
-rw-r--r-- | src/core/ngx_regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_regex.c b/src/core/ngx_regex.c index 416622dcc..9939dce7e 100644 --- a/src/core/ngx_regex.c +++ b/src/core/ngx_regex.c @@ -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[] = { { 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), |