diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp index 0e7e6d3be9d..0a3317a84ca 100644 --- a/mailnews/imap/src/nsImapProtocol.cpp +++ b/mailnews/imap/src/nsImapProtocol.cpp @@ -220,7 +220,7 @@ nsImapProtocol::nsImapProtocol() : m_allocatedSize = OUTPUT_BUFFER_SIZE; // used to buffer incoming data by ReadNextLineFromInput - m_inputStreamBuffer = new nsMsgLineStreamBuffer(OUTPUT_BUFFER_SIZE, PR_FALSE /* leave CRLFs on the returned string */); + m_inputStreamBuffer = new nsMsgLineStreamBuffer(OUTPUT_BUFFER_SIZE, PR_TRUE /* allocate new lines */, PR_FALSE /* leave CRLFs on the returned string */); m_currentBiffState = nsMsgBiffState_Unknown; // where should we do this? Perhaps in the factory object?