rpms/kdepim/devel kdepim-3.5.4-kde#126975.patch,1.1,1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 20 14:24:03 UTC 2006


Author: than

Update of /cvs/dist/rpms/kdepim/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14850

Modified Files:
	kdepim-3.5.4-kde#126975.patch 
Log Message:
fix typos


kdepim-3.5.4-kde#126975.patch:
 imap4.cc |   79 ++++++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 43 insertions(+), 36 deletions(-)

Index: kdepim-3.5.4-kde#126975.patch
===================================================================
RCS file: /cvs/dist/rpms/kdepim/devel/kdepim-3.5.4-kde#126975.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- kdepim-3.5.4-kde#126975.patch	20 Sep 2006 12:08:25 -0000	1.1
+++ kdepim-3.5.4-kde#126975.patch	20 Sep 2006 14:24:01 -0000	1.2
@@ -180,3 +180,38 @@
      // we try to reconstruct it from the URL
      if (!_box.isEmpty())
      {
+Index: kioslaves/imap4/imap4.cc
+===================================================================
+--- kioslaves/imap4/imap4.cc	(Revision 586729)
++++ kioslaves/imap4/imap4.cc	(Revision 586730)
+@@ -1924,20 +1924,19 @@
+       } else completeQueue.removeRef(cmd);
+     }
+ 
+-    if ( myAuth.isEmpty () || myAuth == "*" ) {
+-      if ( hasCapability( QString( "LOGINDISABLED" ) ) ) {
+-        error( ERR_COULD_NOT_LOGIN, i18n("LOGIN is disabled by the server.") );
++    if (myAuth.isEmpty () || myAuth == "*") {
++      if (hasCapability (QString ("LOGINDISABLED"))) {
++        error (ERR_COULD_NOT_LOGIN, i18n("LOGIN is disabled by the server."));
+         closeConnection();
+         return false;
+       }
+-      else {
+-        if ( !hasCapability( QString( "AUTH=" ) + myAuth ) ) {
+-          error( ERR_COULD_NOT_LOGIN,
+-                 i18n("The authentication method %1 is not "
+-                      "supported by the server.").arg( myAuth ) );
+-          closeConnection();
+-          return false;
+-        }
++    }
++    else {
++      if (!hasCapability (QString ("AUTH=") + myAuth)) {
++        error (ERR_COULD_NOT_LOGIN, i18n("The authentication method %1 is not "
++          "supported by the server.").arg(myAuth));
++        closeConnection();
++        return false;
+       }
+     }
+ 




More information about the fedora-cvs-commits mailing list