From 7830e9f67375fa81d7b707bba821713569ab4748 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Fri, 1 Nov 2013 10:21:20 +0000 Subject: [PATCH] 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 --- programs/cmm/liza/parselist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/cmm/liza/parselist.c b/programs/cmm/liza/parselist.c index 29bf68c59e..fcb9bff687 100644 --- a/programs/cmm/liza/parselist.c +++ b/programs/cmm/liza/parselist.c @@ -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();