зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
8bc79224b6
Коммит
333e93ae32
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче