comparison src/core/ngx_regex.c @ 6511:640288d0e1bc

Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse (as in e444e8f6538b).
author Ruslan Ermilov <ru@nginx.com>
date Tue, 12 Apr 2016 19:01:56 +0300
parents d588dda5ec31
children f684178faec9
comparison
equal deleted inserted replaced
6510:a3be359e6c7d 6511:640288d0e1bc
30 30
31 31
32 static ngx_command_t ngx_regex_commands[] = { 32 static ngx_command_t ngx_regex_commands[] = {
33 33
34 { ngx_string("pcre_jit"), 34 { ngx_string("pcre_jit"),
35 NGX_MAIN_CONF|NGX_DIRECT_CONF|NGX_CONF_TAKE1, 35 NGX_MAIN_CONF|NGX_DIRECT_CONF|NGX_CONF_FLAG,
36 ngx_conf_set_flag_slot, 36 ngx_conf_set_flag_slot,
37 0, 37 0,
38 offsetof(ngx_regex_conf_t, pcre_jit), 38 offsetof(ngx_regex_conf_t, pcre_jit),
39 &ngx_regex_pcre_jit_post }, 39 &ngx_regex_pcre_jit_post },
40 40