Created Curl_raw_nequal() which does a C-locale string case comparison.

Changed checkprefix() to use it and those instances of strnequal() that
compare host names or other protocol strings that are defined to be
independent of case in the C locale.  This should fix a few more
Turkish locale problems.
This commit is contained in:
Dan Fandrich 2008-10-23 01:20:57 +00:00
parent 0abaf22467
commit bab5183820
10 changed files with 38 additions and 24 deletions

View file

@ -822,7 +822,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)
/*
* Support some of the "FTP" commands
*/
if(curl_strnequal(sshc->quote_item->data, "PWD", 3)) {
if(curl_strequal("pwd", sshc->quote_item->data)) {
/* output debug output if that is requested */
if(data->set.verbose) {
char tmp[PATH_MAX+1];