diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-05 12:22:07 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-05 12:22:07 +0000 |
commit | 7829d4125ded6ade82dcca016b97dc25b3509a0c (patch) | |
tree | 2f2ad2c08975ca0404b9c84f174c1d8431ac8ec0 /kde-base/kdepim | |
parent | Copyright Header change (diff) | |
download | gentoo-2-7829d4125ded6ade82dcca016b97dc25b3509a0c.tar.gz gentoo-2-7829d4125ded6ade82dcca016b97dc25b3509a0c.tar.bz2 gentoo-2-7829d4125ded6ade82dcca016b97dc25b3509a0c.zip |
Remove old file.
(Portage version: 2.0.51.19)
Diffstat (limited to 'kde-base/kdepim')
-rw-r--r-- | kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch b/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch deleted file mode 100644 index 59ea61bb4337..000000000000 --- a/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch +++ /dev/null @@ -1,89 +0,0 @@ ---- kdepim-3.4.0/kioslaves/imap4/imap4.cc 2005-02-23 12:08:47.000000000 +0100 -+++ kdepim-3.4.0/kioslaves/imap4/imap4.cc 2005-02-27 00:39:39.231224880 +0100 -@@ -1220,9 +1220,9 @@ - void - IMAP4Protocol::special (const QByteArray & aData) - { -+ kdDebug(7116) << "IMAP4Protocol::special" << endl; - if (!makeLogin()) return; - -- kdDebug(7116) << "IMAP4Protocol::special" << endl; - QDataStream stream(aData, IO_ReadOnly); - - int tmp; -@@ -1249,6 +1249,12 @@ - { - // NOOP - imapCommand *cmd = doCommand(imapCommand::clientNoop()); -+ if (cmd->result () != "OK") -+ { -+ completeQueue.removeRef (cmd); -+ error (ERR_CONNECTION_BROKEN, myHost); -+ return; -+ } - completeQueue.removeRef (cmd); - finished(); - break; -@@ -1271,6 +1277,7 @@ - imapCommand *cmd = doCommand(imapCommand::clientUnsubscribe(aBox)); - if (cmd->result () != "OK") - { -+ completeQueue.removeRef (cmd); - error(ERR_SLAVE_DEFINED, i18n("Unsubscribe of folder %1 " - "failed. The server returned: %2") - .arg(_url.prettyURL()) -@@ -1291,6 +1298,7 @@ - imapCommand *cmd = doCommand(imapCommand::clientSubscribe(aBox)); - if (cmd->result () != "OK") - { -+ completeQueue.removeRef (cmd); - error(ERR_SLAVE_DEFINED, i18n("Subscribe of folder %1 " - "failed. The server returned: %2") - .arg(_url.prettyURL()) -@@ -1340,6 +1348,7 @@ - "\\SEEN \\ANSWERED \\FLAGGED \\DRAFT")); - if (cmd->result () != "OK") - { -+ completeQueue.removeRef (cmd); - error(ERR_COULD_NOT_WRITE, i18n("Changing the flags of message %1 " - "failed.").arg(_url.prettyURL())); - return; -@@ -1351,6 +1360,7 @@ - clientStore (aSequence, "+FLAGS.SILENT", newFlags)); - if (cmd->result () != "OK") - { -+ completeQueue.removeRef (cmd); - error(ERR_COULD_NOT_WRITE, i18n("Changing the flags of message %1 " - "failed.").arg(_url.prettyURL())); - return; -@@ -1632,10 +1642,9 @@ - void - IMAP4Protocol::slave_status () - { -- kdDebug(7116) << "IMAP4::slave_status" << endl; --// KIO::TCPSlaveBase::slave_status(); -- slaveStatus (myHost, !(getState () == ISTATE_NO)); --// slaveStatus(QString::null,false); -+ bool connected = (getState() != ISTATE_NO) && isConnectionValid(); -+ kdDebug(7116) << "IMAP4::slave_status " << connected << endl; -+ slaveStatus ( connected ? myHost : QString::null, connected ); - } - - void -@@ -1838,6 +1847,7 @@ - - kdDebug(7116) << "IMAP4::makeLogin - checking login" << endl; - bool alreadyConnected = getState() == ISTATE_CONNECT; -+ kdDebug(7116) << "IMAP4::makeLogin - alreadyConnected " << alreadyConnected << endl; - if (alreadyConnected || connectToHost (myHost.latin1(), myPort)) - { - // fcntl (m_iSock, F_SETFL, (fcntl (m_iSock, F_GETFL) | O_NDELAY)); -@@ -1982,6 +1992,8 @@ - } - } - completeQueue.removeRef (cmd); -+ } else { -+ kdDebug(7116) << "makeLogin - NO login" << endl; - } - - return getState() == ISTATE_LOGIN; |