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:
mscott%netscape.com 2000-03-21 01:06:29 +00:00
parent 710c8c04b3
commit 8c3df91d46

View File

@ -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;