$OpenBSD: patch-ucb_source_ucp_ftp_ftpurl_cxx,v 1.3 2010/06/26 15:48:12 robert Exp $
--- ucb/source/ucp/ftp/ftpurl.cxx.orig.port	Wed May 26 20:33:59 2010
+++ ucb/source/ucp/ftp/ftpurl.cxx	Fri Jun 25 23:56:14 2010
@@ -583,11 +583,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.
