Canceling a move to trash permanently deletes mailbox
thanks to ajschult@eos.ncsu.edu for the patch.
r=sspitzer, sr=bienvenu, a=asa,sspitzer
This commit is contained in:
sspitzer%netscape.com 2003-05-29 04:32:05 +00:00
Родитель fc043d1270
Коммит 37adc32082
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2151,7 +2151,7 @@ nsMsgLocalMailFolder::CopyFolderLocal(nsIMsgFolder *srcFolder, PRBool isMoveFold
nsCOMPtr<nsISupports> supports; nsCOMPtr<nsISupports> supports;
rv = aEnumerator->First(); rv = aEnumerator->First();
nsresult copyStatus = NS_OK; nsresult copyStatus = NS_OK;
while (NS_SUCCEEDED(rv)) while (NS_SUCCEEDED(rv) && NS_SUCCEEDED(copyStatus))
{ {
rv = aEnumerator->CurrentItem(getter_AddRefs(supports)); rv = aEnumerator->CurrentItem(getter_AddRefs(supports));
folder = do_QueryInterface(supports); folder = do_QueryInterface(supports);