summaryrefslogtreecommitdiff
path: root/pcre/pcretest.c
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-08-16 14:35:32 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-08-16 14:35:32 +0300
commit67ddb6507d58b08f88dfede96b057eae34d9d76e (patch)
tree5f28ca11d7940d4fc17b6b9182eda27bae88e70f /pcre/pcretest.c
parent6073049a3675363f7d7efe26f47525b528be9e2f (diff)
parentc221bcdce7714a74b89a02de941e8d8df2994ce3 (diff)
downloadmariadb-git-67ddb6507d58b08f88dfede96b057eae34d9d76e.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'pcre/pcretest.c')
-rw-r--r--pcre/pcretest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcre/pcretest.c b/pcre/pcretest.c
index bcc705459ee..12f76cc0299 100644
--- a/pcre/pcretest.c
+++ b/pcre/pcretest.c
@@ -2864,7 +2864,8 @@ strncmpic(pcre_uint8 *s, pcre_uint8 *t, int n)
{
while (n--)
{
- int c = tolower(*s++) - tolower(*t++);
+ int c = tolower(*s) - tolower(*t);
+ s++; t++;
if (c) return c;
}
return 0;