Merged revisions 953499 via svnmerge from

svn+ssh://tmcguire@svn.kde.org/home/kde/branches/KDE/4.2/kdepim

........
  r953499 | tmcguire | 2009-04-14 09:35:43 +0200 (Tue, 14 Apr 2009) | 7 lines
  
  Backport r949371 by tmcguire from trunk to the 4.2 branch:
  
  When adding a message fails, abort the mail check.
  This fixes a crash because the slave still sent in data, even though we didn't expect
  any pending messages anymore.
........

svn path=/branches/kdepim/enterprise4/kdepim/; revision=953745
wilder-work
Thomas McGuire 17 years ago
parent b0089bcaca
commit 517db36bab
  1. 2
      popaccount.cpp

@ -322,7 +322,9 @@ void PopAccount::slotProcessPendingMsgs()
const bool addedOk = processNewMsg( msg ); //added ok? Error displayed if not.
if ( !addedOk ) {
kWarning() << "Error while processing new mail, aborting mail check.";
mMsgsPendingDownload.clear();
slotAbortRequested();
break;
}

Loading…
Cancel
Save