[nginx] Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse (as in e444e8f6538b).
Ruslan Ermilov
ru at nginx.com
Tue Apr 12 16:23:08 UTC 2016
details: http://hg.nginx.org/nginx/rev/640288d0e1bc
branches:
changeset: 6511:640288d0e1bc
user: Ruslan Ermilov <ru at nginx.com>
date: Tue Apr 12 19:01:56 2016 +0300
description:
Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse (as in e444e8f6538b).
diffstat:
src/core/ngx_regex.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r a3be359e6c7d -r 640288d0e1bc src/core/ngx_regex.c
--- a/src/core/ngx_regex.c Mon Apr 11 16:47:11 2016 +0100
+++ b/src/core/ngx_regex.c Tue Apr 12 19:01:56 2016 +0300
@@ -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),
More information about the nginx-devel
mailing list