$OpenBSD: patch-ucb_source_ucp_ftp_ftpurl_cxx,v 1.2 2007/11/13 09:46:28 robert Exp $
--- ucb/source/ucp/ftp/ftpurl.cxx.orig.port	Tue Jun  5 20:01:46 2007
+++ ucb/source/ucp/ftp/ftpurl.cxx	Thu Oct 25 16:23:47 2007
@@ -591,11 +591,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.
