From 494956c2371b26bc9e0b7830670daa7945df2eab Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Thu, 22 Apr 1999 01:54:32 +0000 Subject: [PATCH] constructor for nsMsgLineBufferStream takes a new argument specifying if new lines should be allocated for ReadNextLine. --- mailnews/news/src/nsNNTPProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index ac88ac444c9..29ebd9ed0c9 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -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;