[Kde-pim] [patch] KMail: avoid one warning and one crash

Jarosław Staniek js at iidea.pl
Tue May 20 11:21:41 BST 2008


Two changes for review:
1. KMailICalIfaceImpl::findMessageBySerNum(): avid warnings when serNum == 0: 
return immediately as we do not expect to have 0 serial nums.

2. KMAcctCachedImap::killAllJobsInternal(): check mSlave before accessing 
it.key() - this could avoid crash when KJob is already dead.

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kmail.patch
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080520/0f30655f/attachment.ksh>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list