From f2ba15a27841e2cb2ede1982cdd1332972f867b7 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Wed, 8 Mar 2000 05:04:14 +0000 Subject: [PATCH] bulletproofing fix for #30937. r=mscott a=jar. don't crash if the imap server goes away. --- mailnews/imap/src/nsImapProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp index e3e73cb5c57..a8b40ad0240 100644 --- a/mailnews/imap/src/nsImapProtocol.cpp +++ b/mailnews/imap/src/nsImapProtocol.cpp @@ -819,7 +819,7 @@ nsImapProtocol::TellThreadToDie(PRBool isSaveToClose) PRUint32 writeCount; if (closeNeeded && GetDeleteIsMoveToTrash() && - TestFlag(IMAP_CONNECTION_IS_OPEN)) + TestFlag(IMAP_CONNECTION_IS_OPEN) && m_outputStream) { IncrementCommandTagNumber(); command = GetServerCommandTag();