summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorTobias Krause <tkr@openoffice.org>2010-01-22 14:38:26 +0100
committerTobias Krause <tkr@openoffice.org>2010-01-22 14:38:26 +0100
commite9f7eaf63498eb1f08e79ffd879b4dabfd86675d (patch)
tree5377f66b2726f80cee06bdd731c79b249a9d4d5a /ucb/source
parentc297e5310e4cd2620d8da907cb270d83c9c7279c (diff)
tkr32: #i105917# update error code for new curl version
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx10
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;