diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-10-23 01:20:57 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-10-23 01:20:57 +0000 |
commit | bab5183820dbd2e0ea9ee4f0442844291d05c90e (patch) | |
tree | 3d6ff5612852ebe99afe0d83d2419ef1909d7a5a /lib/ftp.c | |
parent | 0abaf2246777df3b06abc3430315d704c808ef4e (diff) | |
download | curl-bab5183820dbd2e0ea9ee4f0442844291d05c90e.tar.gz |
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.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4019,7 +4019,7 @@ CURLcode ftp_parse_url_path(struct connectdata *conn) dlen -= ftpc->file?strlen(ftpc->file):0; if((dlen == (int)strlen(ftpc->prevpath)) && - curl_strnequal(path, ftpc->prevpath, dlen)) { + strnequal(path, ftpc->prevpath, dlen)) { infof(data, "Request has same path as previous transfer\n"); ftpc->cwddone = TRUE; } |