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