Bug #41236 --> when parsing the envelope response, we were choking if the message ID was NIL followed by a

parantheses. I just fixed our lex error.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@71741 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com 2000-06-07 23:51:30 +00:00
parent 8853368bbb
commit 7a0d9801bb

View File

@ -1275,8 +1275,10 @@ void nsImapServerResponseParser::envelope_data()
fServerConnection.HandleMessageDownLoadLine(headerLine.GetBuffer(), PR_FALSE);
}
else
break;
fNextToken = GetNextToken();
break;
// only fetch the next token if we aren't eating a parenthes
if (ContinueParse() && (*fNextToken != ')') || tableIndex < (int)(sizeof(EnvelopeTable) / sizeof(EnvelopeTable[0])) - 1 )
fNextToken = GetNextToken();
}
fNextToken = GetNextToken();