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.
This commit is contained in:
Daniel Stenberg
2008-10-16 08:23:48 +00:00
parent 545cafce9b
commit 9d16b4081e
15 changed files with 86 additions and 83 deletions

View File

@@ -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;
}