зеркало из https://github.com/mozilla/pjs.git
constructor for nsMsgLineBufferStream takes a new argument specifying if new lines should be allocated for ReadNextLine.
This commit is contained in:
Родитель
842f4bfed2
Коммит
494956c237
|
@ -433,7 +433,7 @@ void nsNNTPProtocol::Initialize(nsIURL * aURL, nsITransport * transportLayer)
|
|||
m_dataBuf = (char *) PR_Malloc(sizeof(char) * OUTPUT_BUFFER_SIZE);
|
||||
m_dataBufSize = OUTPUT_BUFFER_SIZE;
|
||||
|
||||
m_lineStreamBuffer = new nsMsgLineStreamBuffer(OUTPUT_BUFFER_SIZE);
|
||||
m_lineStreamBuffer = new nsMsgLineStreamBuffer(OUTPUT_BUFFER_SIZE, PR_TRUE /* create new lines */);
|
||||
|
||||
m_nextState = SEND_FIRST_NNTP_COMMAND;
|
||||
m_nextStateAfterResponse = NNTP_CONNECT;
|
||||
|
|
Загрузка…
Ссылка в новой задаче