From 7c2b39f48590cd108941bab6b7fa727d787ae652 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Tue, 15 May 2001 20:33:20 +0000 Subject: [PATCH] add comment for patch for bug #80089 --- mailnews/compose/src/nsMsgCompose.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mailnews/compose/src/nsMsgCompose.cpp b/mailnews/compose/src/nsMsgCompose.cpp index f5b82c5e6c0..5c8f7ac155c 100644 --- a/mailnews/compose/src/nsMsgCompose.cpp +++ b/mailnews/compose/src/nsMsgCompose.cpp @@ -2056,9 +2056,10 @@ nsMsgComposeSendListener::RemoveCurrentDraftMessage(nsIMsgCompose *compObj, PRBo PRInt32 num=0, err; num = srcStr.ToInteger(&err); NS_ASSERTION(err == 0, "failed to get uid for current draft msg"); + // 0 is not a valid IMAP Uid if (num) { - messageID.Add(num); + messageID.Add(num); rv = imapFolder->StoreImapFlags(kImapMsgDeletedFlag, PR_TRUE, messageID.GetArray(), messageID.GetSize()); } }