mirror of
https://github.com/aap/librw.git
synced 2025-02-16 17:26:18 +00:00
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);
|
c2 = tolower(*s2);
|
||||||
if(c1 != c2)
|
if(c1 != c2)
|
||||||
return c1 - c2;
|
return c1 - c2;
|
||||||
|
if(c1 == '\0')
|
||||||
|
return 0;
|
||||||
s1++;
|
s1++;
|
||||||
s2++;
|
s2++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user