summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorTobias Krause <tkr@openoffice.org>2010-01-26 09:57:07 +0100
committerTobias Krause <tkr@openoffice.org>2010-01-26 09:57:07 +0100
commitdf44bd8a73d874a783fc29d2065482e864b60eec (patch)
tree18df452ad3ef092ae1b84269a2a4acc782ae5e3f /ucb
parent519facb9fda79d5b8f4ecb53a5440d4a56df1f07 (diff)
tkr32: #i105917# raised baseline for curl to 7.13.1
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index 7d44faedd4..42c84f4b8b 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;