зеркало из https://github.com/mozilla/pjs.git
nsMsgLineStreamBuffer takes a new argument stating whether new lines should be allocated or not on calls to ReadNextLine.
This commit is contained in:
Родитель
e7dc253d01
Коммит
69ff3ba54b
|
@ -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?
|
||||
|
|
Загрузка…
Ссылка в новой задаче