From 06dcc6a61439e9f1dfd584f2de8130790388813c Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Sat, 20 Mar 1999 02:02:31 +0000 Subject: [PATCH] bubble LoadURL's errors up through rv --- mailnews/local/src/nsMailboxService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailnews/local/src/nsMailboxService.cpp b/mailnews/local/src/nsMailboxService.cpp index 1935894d147..d850a0cf8bf 100644 --- a/mailnews/local/src/nsMailboxService.cpp +++ b/mailnews/local/src/nsMailboxService.cpp @@ -65,7 +65,7 @@ nsresult nsMailboxService::ParseMailbox(const nsFileSpec& aMailboxPath, nsIStrea nsMailboxProtocol * protocol = new nsMailboxProtocol(url); if (protocol) - protocol->LoadURL(url, nsnull /* no consumers for this type of url */); + rv = protocol->LoadURL(url, nsnull /* no consumers for this type of url */); if (aURL) *aURL = url; @@ -109,7 +109,7 @@ nsresult nsMailboxService::DisplayMessage(const nsFileSpec& aMailboxPath, nsMsgK // create a protocol instance to run the url.. nsMailboxProtocol * protocol = new nsMailboxProtocol(url); if (protocol) - protocol->LoadURL(url, aDisplayConsumer); + rv = protocol->LoadURL(url, aDisplayConsumer); if (aURL) *aURL = url;