fix solaris breakage which doesn't like enums in ?: notation.

This commit is contained in:
mscott%netscape.com 1999-09-12 07:05:08 +00:00
parent 5a157ddb69
commit e2feb8ee2e

View File

@ -126,8 +126,10 @@ nsresult nsMailboxService::CopyMessage(const char * aSrcMailboxURI,
nsIUrlListener * aUrlListener,
nsIURI **aURL)
{
return FetchMessage(aSrcMailboxURI, aMailboxCopyHandler, aUrlListener, moveMessage ? nsIMailboxUrl::ActionMoveMessage: nsIMailboxUrl::ActionCopyMessage,
nsMailboxAction mailboxAction = nsIMailboxUrl::ActionMoveMessage;
if (!moveMessage)
mailboxAction = nsIMailboxUrl::ActionCopyMessage;
return FetchMessage(aSrcMailboxURI, aMailboxCopyHandler, aUrlListener, mailboxAction,
aURL);
}