mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
Fix solaris breakage from this weekend. Tinderbox has been showing green even though it was broken. Thanks to bruce for
pointing that out. r=bruce
This commit is contained in:
parent
710c8c04b3
commit
8c3df91d46
@ -346,10 +346,10 @@ nsImapService::CopyMessage(const char * aSrcMailboxURI, nsIStreamListener *
|
||||
rv = CreateStartOfImapUrl(getter_AddRefs(imapUrl), folder, aUrlListener, urlSpec, hierarchySeparator);
|
||||
|
||||
// now try to download the message
|
||||
rv = FetchMessage(imapUrl,
|
||||
(moveMessage) ? nsIImapUrl::nsImapOnlineToOfflineMove : nsIImapUrl::nsImapOnlineToOfflineCopy,
|
||||
folder, imapMessageSink,
|
||||
aURL, streamSupport, msgKey, PR_TRUE);
|
||||
nsImapAction imapAction = nsIImapUrl::nsImapOnlineToOfflineCopy;
|
||||
if (moveMessage)
|
||||
imapAction = nsIImapUrl::nsImapOnlineToOfflineMove;
|
||||
rv = FetchMessage(imapUrl,imapAction, folder, imapMessageSink,aURL, streamSupport, msgKey, PR_TRUE);
|
||||
if (NS_SUCCEEDED(rv) && moveMessage)
|
||||
{
|
||||
nsCOMPtr<nsIEventQueue> queue;
|
||||
|
Loading…
Reference in New Issue
Block a user