summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_pcre2.c
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-05-27 17:03:24 +0300
committerAndrei Belov <defan@nginx.com>2021-05-27 17:03:24 +0300
commit0afb4b5790c5a37ba6b880eb351a65fe00521fbe (patch)
treec7e0b6bed92ee62a5e8b13c945c4134e68554cec /src/nxt_pcre2.c
parent21ff5e086ece7188df3b7338d228fa4fb7f886af (diff)
parentd06e55dfa3692e27a92ff6c2534bb083416bc0c8 (diff)
downloadunit-0afb4b5790c5a37ba6b880eb351a65fe00521fbe.tar.gz
unit-0afb4b5790c5a37ba6b880eb351a65fe00521fbe.tar.bz2
Merged with the default branch.1.24.0-1
Diffstat (limited to 'src/nxt_pcre2.c')
-rw-r--r--src/nxt_pcre2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_pcre2.c b/src/nxt_pcre2.c
index 22c4d2d4..cb51062c 100644
--- a/src/nxt_pcre2.c
+++ b/src/nxt_pcre2.c
@@ -144,7 +144,7 @@ nxt_regex_match(nxt_regex_t *re, u_char *subject, size_t length,
if (pcre2_get_error_message(ret, errptr, ERR_BUF_SIZE) < 0) {
nxt_thread_log_error(NXT_LOG_ERR,
"pcre2_match() failed: %d on \"%*s\" "
- "using \"%V\"", ret, subject, length, subject,
+ "using \"%V\"", ret, length, subject,
&re->pattern);
} else {