From 458c98ad2f8636e2ae2d18a520858223786ebf20 Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Fri, 24 Feb 2006 21:44:05 +0000 Subject: [PATCH] handle bad path in nsMailboxUrl, sr=mscott 328454 --- mailnews/local/src/nsMailboxUrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailnews/local/src/nsMailboxUrl.cpp b/mailnews/local/src/nsMailboxUrl.cpp index 9a2e223e9b2b..0d55b305e14a 100644 --- a/mailnews/local/src/nsMailboxUrl.cpp +++ b/mailnews/local/src/nsMailboxUrl.cpp @@ -277,7 +277,7 @@ NS_IMETHODIMP nsMailboxUrl::GetUri(char ** aURI) nsresult nsMailboxUrl::GetMsgHdrForKey(nsMsgKey msgKey, nsIMsgDBHdr ** aMsgHdr) { nsresult rv = NS_OK; - if (aMsgHdr) + if (aMsgHdr && m_filePath) { nsCOMPtr mailDBFactory; nsCOMPtr mailDB;