зеркало из https://github.com/mozilla/gecko-dev.git
Make sure the line buffer stream leaves CRLFs on for us when extracting new lines.
This commit is contained in:
Родитель
06e34dba48
Коммит
e9042ccc29
|
@ -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?
|
||||||
|
|
Загрузка…
Ссылка в новой задаче