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
commitd9f65d9cde58a51235f0c47f0b3804f930e21d74 (patch)
treefdaf56c1b7499d6e6b59ee69e0b9d41e44617f70 /ucb
parent957e2c21ce86ec4539b2e825ef7eb6fce83d466c (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 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;