summaryrefslogtreecommitdiff
path: root/pcre
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-08-13 19:28:51 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-08-13 19:28:51 +0300
commit65d48b4a7bd7a57a27f2e9ca54473e1ae86223b5 (patch)
treef145a7a095011fbc4e6661e1675f72f6cdca38b6 /pcre
parenteedd6179c1e5e8651270b353a693887179ad7bf3 (diff)
parented4ccf34a6603bd2374a721a7e1ad88472f335fc (diff)
downloadmariadb-git-65d48b4a7bd7a57a27f2e9ca54473e1ae86223b5.tar.gz
Merge 10.2 to 10.3
Diffstat (limited to 'pcre')
-rw-r--r--pcre/pcretest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcre/pcretest.c b/pcre/pcretest.c
index a0e65ed9808..dcf1e2c6760 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;