summaryrefslogtreecommitdiff
path: root/lib/c-strncasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/c-strncasecmp.c')
-rw-r--r--lib/c-strncasecmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/c-strncasecmp.c b/lib/c-strncasecmp.c
index c1496ca41..0a4e02725 100644
--- a/lib/c-strncasecmp.c
+++ b/lib/c-strncasecmp.c
@@ -40,7 +40,7 @@ c_strncasecmp (const char *s1, const char *s2, size_t n)
c2 = c_tolower (*p2);
if (--n == 0 || c1 == '\0')
- break;
+ break;
++p1;
++p2;