Use MSG_LINEBREAK instead of LINEBREAK. This should fix message display on the Mac.

This commit is contained in:
mscott%netscape.com 1999-04-27 02:57:25 +00:00
Родитель d6dfc8e679
Коммит 30dac60b60
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -141,7 +141,7 @@ void nsMailboxProtocol::Initialize(nsIURL * aURL)
m_mailboxParser = nsnull;
m_lineStreamBuffer = new nsMsgLineStreamBuffer(OUTPUT_BUFFER_SIZE, LINEBREAK, PR_TRUE);
m_lineStreamBuffer = new nsMsgLineStreamBuffer(OUTPUT_BUFFER_SIZE, MSG_LINEBREAK, PR_TRUE);
m_nextState = MAILBOX_READ_FOLDER;
m_initialState = MAILBOX_READ_FOLDER;
@ -477,7 +477,7 @@ PRInt32 nsMailboxProtocol::ReadMessageResponse(nsIInputStream * inputStream, PRU
{
if (line)
PR_Write(m_tempMessageFile,(void *) line,PL_strlen(line));
PR_Write(m_tempMessageFile, (void *) LINEBREAK, PL_strlen(CRLF));
PR_Write(m_tempMessageFile, (void *) MSG_LINEBREAK, PL_strlen(CRLF));
}
}
}