fixed bug 15291 - Pop3 local mail folder message lines not ended with platform specific line endings; replacing CRLF with platform specific MSG_LINEBREAK; reviewed by bienvenu, mscott

This commit is contained in:
jefft%netscape.com 1999-10-06 04:56:02 +00:00
Родитель 8bc79224b6
Коммит 333e93ae32
2 изменённых файлов: 4 добавлений и 3 удалений

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

@ -2052,7 +2052,8 @@ nsPop3Protocol::RetrResponse(nsIInputStream* inputStream,
do
{
BufferInput(line, buffer_size);
BufferInput(CRLF, 2);
// BufferInput(CRLF, 2);
BufferInput(MSG_LINEBREAK, MSG_LINEBREAK_LEN);
// now read in the next line
PR_FREEIF(line);

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

@ -222,8 +222,8 @@ nsPop3Sink::IncorporateBegin(const char* uidlString,
char *dummyEnvelope = GetDummyEnvelope();
WriteLineToMailbox(dummyEnvelope);
WriteLineToMailbox("X-Mozilla-Status: 8000\r\n");
WriteLineToMailbox("X-Mozilla-Status2: 00000000\r\n");
WriteLineToMailbox("X-Mozilla-Status: 8000" MSG_LINEBREAK);
WriteLineToMailbox("X-Mozilla-Status2: 00000000" MSG_LINEBREAK);
return NS_OK;
}