diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2016-11-01 11:44:11 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2016-11-01 11:44:11 +0100 |
commit | e44bfc7664ea7d74f09f91bef459a0a596e5e4e9 (patch) | |
tree | c47846552c49525f6c40190457ce92789fac8a6a | |
parent | e5c49b9e6976da8e055c8f59d28feb46f00a880d (diff) |
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
-rw-r--r-- | lib/strcase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strcase.h b/lib/strcase.h index 932d79321..bf057b1ff 100644 --- a/lib/strcase.h +++ b/lib/strcase.h @@ -42,7 +42,7 @@ char Curl_raw_toupper(char in); /* checkprefix() is a shorter version of the above, used when the first 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); char Curl_raw_toupper(char in); |