Fix for invalid attachment - Bug #: 41415 - r: jefft

This commit is contained in:
rhp%netscape.com 2000-06-12 23:16:50 +00:00
Родитель 19212f7595
Коммит ad2de13c56
2 изменённых файлов: 7 добавлений и 3 удалений

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

@ -558,9 +558,6 @@ MimeInlineTextPlainFlowed_parse_line (char *line, PRInt32 length, MimeObject *ob
}
if(3 == dashdashspace) {
#ifdef DEBUG_BenB
printf("SIGNATURE\n");
#endif
// "-- " is a fixed line.
*outlinep='<'; outlinep++;
*outlinep='b'; outlinep++;

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

@ -155,6 +155,13 @@ MimeUntypedText_parse_line (char *line, PRInt32 length, MimeObject *obj)
*/
if (!uty->open_subpart)
{
// rhp: If we get here and we are being fed a line ending, we should
// just eat it and continue and if we really get more data, we'll open
// up the subpart then.
//
if (line[0] == CR) return 0;
if (line[0] == LF) return 0;
PR_ASSERT(!begin_line_p);
status = MimeUntypedText_open_subpart (obj,
MimeUntypedTextSubpartTypeText,