mirror of https://github.com/aap/librw.git
im an idiot
This commit is contained in:
parent
cb40fd1555
commit
3902ab328e
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue