зеркало из https://github.com/mozilla/gecko-dev.git
partial fix for bug #195142
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:
Родитель
fc043d1270
Коммит
37adc32082
|
@ -2151,7 +2151,7 @@ nsMsgLocalMailFolder::CopyFolderLocal(nsIMsgFolder *srcFolder, PRBool isMoveFold
|
|||
nsCOMPtr<nsISupports> supports;
|
||||
rv = aEnumerator->First();
|
||||
nsresult copyStatus = NS_OK;
|
||||
while (NS_SUCCEEDED(rv))
|
||||
while (NS_SUCCEEDED(rv) && NS_SUCCEEDED(copyStatus))
|
||||
{
|
||||
rv = aEnumerator->CurrentItem(getter_AddRefs(supports));
|
||||
folder = do_QueryInterface(supports);
|
||||
|
|
Загрузка…
Ссылка в новой задаче