diff options
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index 176e5275e645..9af596d94fdb 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -578,12 +578,7 @@ Any SAL_CALL FTPContent::execute( else if(e.code() == CURLE_COULDNT_RESOLVE_HOST ) action = THROWRESOLVENAME; else if( e.code() == CURLE_FTP_USER_PASSWORD_INCORRECT || -/* -MacOS SDK 10.4 uses curl 7.13.1 (current baseline). Curl introduced new error codes with this version. -*/ -#if LIBCURL_VERSION_NUM>=0x070d01 /* 7.13.1 */ - e.code() == CURLE_LOGIN_DENIED || -#endif + e.code() == CURLE_LOGIN_DENIED || e.code() == CURLE_BAD_PASSWORD_ENTERED || e.code() == CURLE_FTP_WEIRD_PASS_REPLY) action = THROWAUTHENTICATIONREQUEST; |