$OpenBSD: patch-ucb_source_ucp_ftp_ftpurl_cxx,v 1.2 2009/01/22 17:44:39 robert Exp $
--- ucb/source/ucp/ftp/ftpurl.cxx.orig.port	Fri Aug  1 07:38:13 2008
+++ ucb/source/ucp/ftp/ftpurl.cxx	Thu Jan 15 14:47:51 2009
@@ -586,11 +586,11 @@ rtl::OUString FTPURL::net_title() const
                 aNetTitle = aNetTitle.copy(1+index1);
             }
             try_more = false;
-        } else if(err == CURLE_BAD_PASSWORD_ENTERED)
+        } else if(err == CURLE_LOGIN_DENIED)
 			// the client should retry after getting the correct
 			// username + password
 			throw curl_exception(err);
-		else if(try_more && err == CURLE_FTP_ACCESS_DENIED) {
+		else if(try_more && err == CURLE_REMOTE_ACCESS_DENIED) {
             // We  were  either denied access when trying to login to
             //  an FTP server or when trying to change working directory
             //  to the one given in the URL.
