GH160: MultipartReader ignores first part, if preamble is missing

fixed GH #160: MultipartReader ignores first part, if preamble is
missing
This commit is contained in:
Aleksandar Fabijanic
2013-04-28 13:24:21 -05:00
parent 9663074e9e
commit a65d86a0b2
2 changed files with 2 additions and 1 deletions

View File

@@ -477,7 +477,7 @@ void MailMessage::readHeader(std::istream& istr)
clear();
MessageHeader::read(istr);
istr.get(); // \r
istr.get(); // \n
if ('\n' == istr.peek()) istr.get(); // \n
}