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/parsedate.c | |
parent | 545cafce9b81f4bda89072a5ebb2d1632f10dc44 (diff) | |
download | curl-9d16b4081ed011c11f9876ae2685076e92113593.tar.gz |
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/parsedate.c')
-rw-r--r-- | lib/parsedate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c index 11dc55e64..ef2ee658b 100644 --- a/lib/parsedate.c +++ b/lib/parsedate.c @@ -164,7 +164,7 @@ static int checkday(const char *check, size_t len) else what = &Curl_wkday[0]; for(i=0; i<7; i++) { - if(Curl_ascii_equal(check, what[0])) { + if(Curl_raw_equal(check, what[0])) { found=TRUE; break; } @@ -181,7 +181,7 @@ static int checkmonth(const char *check) what = &Curl_month[0]; for(i=0; i<12; i++) { - if(Curl_ascii_equal(check, what[0])) { + if(Curl_raw_equal(check, what[0])) { found=TRUE; break; } @@ -201,7 +201,7 @@ static int checktz(const char *check) what = tz; for(i=0; i< sizeof(tz)/sizeof(tz[0]); i++) { - if(Curl_ascii_equal(check, what->name)) { + if(Curl_raw_equal(check, what->name)) { found=TRUE; break; } |