constructor for nsMsgLineBufferStream takes a new argument specifying if new lines should be allocated for ReadNextLine.

This commit is contained in:
mscott%netscape.com 1999-04-22 01:54:32 +00:00
Родитель 842f4bfed2
Коммит 494956c237
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -433,7 +433,7 @@ void nsNNTPProtocol::Initialize(nsIURL * aURL, nsITransport * transportLayer)
m_dataBuf = (char *) PR_Malloc(sizeof(char) * OUTPUT_BUFFER_SIZE); m_dataBuf = (char *) PR_Malloc(sizeof(char) * OUTPUT_BUFFER_SIZE);
m_dataBufSize = 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_nextState = SEND_FIRST_NNTP_COMMAND;
m_nextStateAfterResponse = NNTP_CONNECT; m_nextStateAfterResponse = NNTP_CONNECT;