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
This commit is contained in:
bienvenu%nventure.com
2004-12-09 17:56:30 +00:00
parent 8ec3bde4fe
commit 238a6fc093

View File

@@ -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())