From 737ce90217752a596b7510496988f50e4c2cd538 Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Sun, 29 Jun 2003 01:06:29 +0000 Subject: [PATCH] instead of removing nulls when parsing server responses, replace them with spaces, so we won't throw off the byte counts for imap and pop3, 205789 r/sr=sspitzer --- mailnews/base/util/nsMsgLineBuffer.cpp | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) 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