diff --git a/mailnews/base/util/nsMsgLineBuffer.cpp b/mailnews/base/util/nsMsgLineBuffer.cpp index 454fe2aefbb1..a6d896679a67 100644 --- a/mailnews/base/util/nsMsgLineBuffer.cpp +++ b/mailnews/base/util/nsMsgLineBuffer.cpp @@ -385,19 +385,14 @@ char * nsMsgLineStreamBuffer::ReadNextLine(nsIInputStream * aInputStream, PRUint { aInputStream->Read(startOfLine + m_numBytesInBuffer, numBytesToCopy, &numBytesCopied); + PRUint32 i; + for (i=m_numBytesInBuffer;i