comparison src/http/ngx_http_core_module.c @ 3390:8854f4eb2839

fix caseless locations, the bug had been introduced in r3326
author Igor Sysoev <igor@sysoev.ru>
date Thu, 17 Dec 2009 14:25:46 +0000
parents d788521e4b0e
children 4e15548b29d4
comparison
equal deleted inserted replaced
3389:de27a5d044ff 3390:8854f4eb2839
2586 rc.err.len = NGX_MAX_CONF_ERRSTR; 2586 rc.err.len = NGX_MAX_CONF_ERRSTR;
2587 rc.err.data = errstr; 2587 rc.err.data = errstr;
2588 2588
2589 #if (NGX_HAVE_CASELESS_FILESYSTEM) 2589 #if (NGX_HAVE_CASELESS_FILESYSTEM)
2590 rc.options = NGX_REGEX_CASELESS; 2590 rc.options = NGX_REGEX_CASELESS;
2591 #else
2592 rc.options = caseless;
2591 #endif 2593 #endif
2592 2594
2593 clcf->regex = ngx_http_regex_compile(cf, &rc); 2595 clcf->regex = ngx_http_regex_compile(cf, &rc);
2594 if (clcf->regex == NULL) { 2596 if (clcf->regex == NULL) {
2595 return NGX_ERROR; 2597 return NGX_ERROR;