mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
Fixed lcc compiler warnings.
This commit is contained in:
parent
d6eb1a7b98
commit
178afd81a9
@ -802,13 +802,13 @@ static int hostmatch(const char *hostname, const char *pattern)
|
|||||||
if (hostmatch(hostname++,pattern) == HOST_MATCH)
|
if (hostmatch(hostname++,pattern) == HOST_MATCH)
|
||||||
return HOST_MATCH;
|
return HOST_MATCH;
|
||||||
}
|
}
|
||||||
return HOST_NOMATCH;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (toupper(c) != toupper(*hostname++))
|
if (toupper(c) != toupper(*hostname++))
|
||||||
return HOST_NOMATCH;
|
break;
|
||||||
}
|
}
|
||||||
/* we never reach this point */
|
return HOST_NOMATCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -366,9 +366,9 @@ static int synchnet(curl_socket_t f /* socket to flush */)
|
|||||||
(struct sockaddr *)&from, &fromlen);
|
(struct sockaddr *)&from, &fromlen);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return j;
|
break;
|
||||||
}
|
}
|
||||||
/* we never reach this point */
|
return j;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user