[Bug 143237] Non multipart MIME mails containing only a single attachment fail
Will Stephenson
wstephenson at kde.org
Mon Apr 30 16:10:44 BST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=143237
------- Additional Comments From wstephenson kde org 2007-04-30 17:10 -------
SVN commit 659645 by wstephens:
Add comment so that posterity can see that r653900 actually solved bug #143237.
CCBUG: 143237
M +2 -2 imapaccountbase.cpp
--- branches/KDE/3.5/kdepim/kmail/imapaccountbase.cpp #659644:659645
@ -1070,10 +1070,10 @
}
}
// if the only body part is not text, part->loadPart() would return false
- // and that part is never loaded, so make sure it loads.
+ // and that part is never loaded, so make sure it loads.
// it seems that TEXT does load the single body part even if it is not text/*
if ( mBodyPartList.count() == 1 && partsToLoad == 0 )
- partsToLoad = 1;
+ partsToLoad = 1; // this causes the next test to succeed, and loads the whole message
if ( (mBodyPartList.count() * 0.5) < partsToLoad )
{
More information about the Kdepim-bugs
mailing list