nsMsgLineStreamBuffer takes a new argument stating whether new lines should be allocated or not on calls to ReadNextLine.

This commit is contained in:
mscott%netscape.com 1999-04-22 02:01:08 +00:00
Родитель e7dc253d01
Коммит 69ff3ba54b
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, 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; m_currentBiffState = nsMsgBiffState_Unknown;
// where should we do this? Perhaps in the factory object? // where should we do this? Perhaps in the factory object?