[Bug 247456] Akonadi IMAP resource crashed, when moving a message in KMail2 to another folder

Elias Probst mail at eliasprobst.eu
Thu Apr 7 03:20:15 BST 2011


https://bugs.kde.org/show_bug.cgi?id=247456





--- Comment #6 from Elias Probst <mail eliasprobst eu>  2011-04-07 04:20:04 ---
sergio provided this patch on #akonadi:

diff --git a/kimap/copyjob.cpp b/kimap/copyjob.cpp
index f13ce74..de41458 100644
--- a/kimap/copyjob.cpp
+++ b/kimap/copyjob.cpp
@@ -123,7 +123,7 @@ void CopyJob::handleResponse( const Message &response )
         it != response.responseCode.end(); ++it ) {
     if ( it->toString()=="COPYUID" ) {
       it = it + 3;
-      if ( it != response.responseCode.end() ) {
+      if ( it < response.responseCode.end() ) {
         d->resultingUids = ImapSet::fromImapSequenceSet( it->toString() );
       }
       break;

This patch fixes the issue for me - please review and commit it.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list