im an idiot

This commit is contained in:
aap 2016-02-25 01:02:07 +01:00
parent cb40fd1555
commit 3902ab328e

View File

@ -78,6 +78,8 @@ strncmp_ci(const char *s1, const char *s2, int n)
c2 = tolower(*s2);
if(c1 != c2)
return c1 - c2;
if(c1 == '\0')
return 0;
s1++;
s2++;
}