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

@ -43,6 +43,7 @@ Release 1.5.2 (2013-04-29)
- fixed GH #82: name conflict in Data::Keywords::bind
- fixed GH #157: MySQL: cannot bind to 'long' data type on Windows/Visual C++
- fixed GH #158: MySQL: MYSQL_BIND 'is_unsigned' member is not set
- fixed GH #160: MultipartReader ignores first part, if preamble is missing
Release 1.5.1 (2013-01-11)
==========================

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
}