зеркало из https://github.com/mozilla/pjs.git
Bug #97497-- hopefully fix a random crash when compacting folders. I'm backing out part of
a previous change by bienvenu. r=naving sr=sspitzer
This commit is contained in:
Родитель
d7672429e0
Коммит
fe984c8956
|
@ -179,9 +179,11 @@ NS_IMETHODIMP nsImapFlagAndUidState::ExpungeByIndex(PRUint32 msgIndex)
|
|||
if (fFlags[msgIndex] & kImapMsgDeletedFlag) // see if we already had counted this one as deleted
|
||||
fNumberDeleted--;
|
||||
for (counter = msgIndex; counter < (PRUint32) fNumberOfMessagesAdded; counter++)
|
||||
{
|
||||
fUids.SetAt(counter, fUids[counter + 1]);
|
||||
fFlags[counter] = fFlags[counter + 1];
|
||||
}
|
||||
|
||||
fUids.RemoveAt(msgIndex, 1);
|
||||
PR_CExitMonitor(this);
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче