diff options
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 377f998de..a5d47d58c 100644 --- a/src/core/ngx_regex.c +++ b/src/core/ngx_regex.c @@ -30,7 +30,7 @@ ngx_regex_t *ngx_regex_compile(ngx_str_t *pattern, ngx_int_t options, re = pcre_compile(pattern->data, (int) options, &errstr, &erroff, NULL); if (re == NULL) { - if ((size_t) erroff == pattern->len) { + if ((size_t) erroff == pattern->len) { ngx_snprintf(err->data, err->len - 1, "pcre_compile() failed: %s in \"%s\"", errstr, pattern->data); |