зеркало из https://github.com/mozilla/pjs.git
add comment for patch for bug #80089
This commit is contained in:
Родитель
ac4bcee9ae
Коммит
7c2b39f485
|
@ -2056,9 +2056,10 @@ nsMsgComposeSendListener::RemoveCurrentDraftMessage(nsIMsgCompose *compObj, PRBo
|
||||||
PRInt32 num=0, err;
|
PRInt32 num=0, err;
|
||||||
num = srcStr.ToInteger(&err);
|
num = srcStr.ToInteger(&err);
|
||||||
NS_ASSERTION(err == 0, "failed to get uid for current draft msg");
|
NS_ASSERTION(err == 0, "failed to get uid for current draft msg");
|
||||||
|
// 0 is not a valid IMAP Uid
|
||||||
if (num)
|
if (num)
|
||||||
{
|
{
|
||||||
messageID.Add(num);
|
messageID.Add(num);
|
||||||
rv = imapFolder->StoreImapFlags(kImapMsgDeletedFlag, PR_TRUE, messageID.GetArray(), messageID.GetSize());
|
rv = imapFolder->StoreImapFlags(kImapMsgDeletedFlag, PR_TRUE, messageID.GetArray(), messageID.GetSize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче