From 238a6fc093be1d77e71e81a5cb4c1f71aa984d1c Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Thu, 9 Dec 2004 17:56:30 +0000 Subject: [PATCH] potential fix for topcrash in imap code 269573, parser was ignoring the stop button in some situations, sr=mscott git-svn-id: svn://10.0.0.236/trunk@166493 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp b/mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp index 6d1d442621d..15a7f25fa3f 100644 --- a/mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp +++ b/mozilla/mailnews/imap/src/nsImapServerResponseParser.cpp @@ -2680,7 +2680,7 @@ PRBool nsImapServerResponseParser::msg_fetch_literal(PRBool chunk, PRInt32 origi // If we opened a tunnel, finish everything off here. Otherwise, get everything here. // (just like before) - while (ContinueParse() && (charsReadSoFar < numberOfCharsInThisChunk)) + while (ContinueParse() && !fServerConnection.DeathSignalReceived() && (charsReadSoFar < numberOfCharsInThisChunk)) { AdvanceToNextLine(); if (ContinueParse())