unsigned char casts for is*, casts for socket functi, add headers

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10646 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-09-03 05:54:18 +00:00
parent 2bd2af429a
commit 897f0b1f93
7 changed files with 10 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ isprefix(char *s1, char *s2)
os1 = s1;
c1 = *s1;
c2 = *s2;
while (LOWER(c1) == LOWER(c2)) {
while (tolower((unsigned char)c1) == tolower((unsigned char)c2)) {
if (c1 == '\0')
break;
c1 = *++s1;