mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
strcase: fixed Metalink builds by redefining checkprefix()
...to use the public function curl_strnequal(). This isn't ideal because
it adds extra overhead to any internal calls to checkprefix.
follow-up to 95bd2b3e
This commit is contained in:
parent
e5c49b9e69
commit
e44bfc7664
@ -42,7 +42,7 @@ char Curl_raw_toupper(char in);
|
|||||||
|
|
||||||
/* checkprefix() is a shorter version of the above, used when the first
|
/* checkprefix() is a shorter version of the above, used when the first
|
||||||
argument is zero-byte terminated */
|
argument is zero-byte terminated */
|
||||||
#define checkprefix(a,b) strncasecompare(a,b,strlen(a))
|
#define checkprefix(a,b) curl_strnequal(a,b,strlen(a))
|
||||||
|
|
||||||
void Curl_strntoupper(char *dest, const char *src, size_t n);
|
void Curl_strntoupper(char *dest, const char *src, size_t n);
|
||||||
char Curl_raw_toupper(char in);
|
char Curl_raw_toupper(char in);
|
||||||
|
Loading…
Reference in New Issue
Block a user