Make sure the line buffer stream leaves CRLFs on for us when extracting new lines.

This commit is contained in:
mscott%netscape.com 1999-04-20 23:43:39 +00:00
Родитель 06e34dba48
Коммит e9042ccc29
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -220,7 +220,7 @@ nsImapProtocol::nsImapProtocol() :
m_allocatedSize = OUTPUT_BUFFER_SIZE; m_allocatedSize = OUTPUT_BUFFER_SIZE;
// used to buffer incoming data by ReadNextLineFromInput // used to buffer incoming data by ReadNextLineFromInput
m_inputStreamBuffer = new nsMsgLineStreamBuffer(OUTPUT_BUFFER_SIZE); m_inputStreamBuffer = new nsMsgLineStreamBuffer(OUTPUT_BUFFER_SIZE, PR_FALSE /* leave CRLFs on the returned string */);
m_currentBiffState = nsMsgBiffState_Unknown; m_currentBiffState = nsMsgBiffState_Unknown;
// where should we do this? Perhaps in the factory object? // where should we do this? Perhaps in the factory object?