Liza 0.9a: correct detection of email header end (bug in previous version).

git-svn-id: svn://kolibrios.org@4142 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-11-01 10:21:20 +00:00
parent bd6b9902ad
commit 7830e9f673

View File

@ -40,7 +40,7 @@ void ParseMail()
GetHeader(#to, "\nTo:");
GetHeader(#date, "\nDate:");
GetHeader(#subj, "\nSubject:");
mdata = strstr(mailbuffer, "\n") + 3;
mdata = strstr(mailbuffer, "\n\r") + 3; // 0x0d 0x0a, 0x0a
debug ("converting to dos");
ConvertToDOS(mdata, mailbuffer);
FromHTMLtoTXT();