diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-10-16 08:23:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-10-16 08:23:48 +0000 |
commit | 9d16b4081ed011c11f9876ae2685076e92113593 (patch) | |
tree | 566029901ed6edccdc424814d068c9db75723d2c /lib/strequal.h | |
parent | 545cafce9b81f4bda89072a5ebb2d1632f10dc44 (diff) |
Renamed Curl_ascii_equal to Curl_raw_equal and bugfixed the my_toupper function
used in strequal.c so now all test cases run fine for me again.
Diffstat (limited to 'lib/strequal.h')
-rw-r--r-- | lib/strequal.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/strequal.h b/lib/strequal.h index d1bc86ef5..778b23cd9 100644 --- a/lib/strequal.h +++ b/lib/strequal.h @@ -33,11 +33,13 @@ #define checkprefix(a,b) strnequal(a,b,strlen(a)) /* - * Curl_ascii_equal() is for doing "ascii" case insensitive strings. This is - * meant to be locale independent and only compare strings we know are safe - * for this. + * Curl_raw_equal() is for doing "raw" case insensitive strings. This is meant + * to be locale independent and only compare strings we know are safe for + * this. + * + * The function is capable of comparing a-z case insensitively even for non-ascii. */ -int Curl_ascii_equal(const char *first, const char *second); +int Curl_raw_equal(const char *first, const char *second); #ifndef HAVE_STRLCAT #define strlcat(x,y,z) Curl_strlcat(x,y,z) |