diff options
author | Tobias Krause <tkr@openoffice.org> | 2010-01-22 14:38:26 +0100 |
---|---|---|
committer | Tobias Krause <tkr@openoffice.org> | 2010-01-22 14:38:26 +0100 |
commit | e9f7eaf63498eb1f08e79ffd879b4dabfd86675d (patch) | |
tree | 5377f66b2726f80cee06bdd731c79b249a9d4d5a /ucb | |
parent | c297e5310e4cd2620d8da907cb270d83c9c7279c (diff) |
tkr32: #i105917# update error code for new curl version
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index e4533d872275..8ef8ea87f8b0 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -577,13 +577,13 @@ Any SAL_CALL FTPContent::execute( action = THROWINTERACTIVECONNECT; else if(e.code() == CURLE_COULDNT_RESOLVE_HOST ) action = THROWRESOLVENAME; - else if(e.code() == CURLE_FTP_USER_PASSWORD_INCORRECT || - e.code() == CURLE_BAD_PASSWORD_ENTERED || - e.code() == CURLE_FTP_WEIRD_PASS_REPLY ) + else if( e.code() == CURLE_FTP_USER_PASSWORD_INCORRECT || + e.code() == CURLE_FTP_WEIRD_PASS_REPLY || + e.code() == CURLE_LOGIN_DENIED) action = THROWAUTHENTICATIONREQUEST; - else if(e.code() == CURLE_FTP_ACCESS_DENIED) + else if(e.code() == CURLE_REMOTE_ACCESS_DENIED) action = THROWACCESSDENIED; - else if(e.code() == CURLE_FTP_QUOTE_ERROR) + else if(e.code() == CURLE_QUOTE_ERROR) action = THROWQUOTE; else if(e.code() == CURLE_FTP_COULDNT_RETR_FILE) action = THROWNOFILE; |