# HG changeset patch # User Carl Byington # Date 1441989972 25200 # Node ID a57c15b3108ab381f4d3c150f3d4780d6d602c93 # Parent c006b76da81da7acd4d182091f455a13132c1f42 Jeffrey Morlan - fix multiple Content-Type headers diff -r c006b76da81d -r a57c15b3108a libpst.spec.in --- a/libpst.spec.in Mon Mar 09 11:49:11 2015 -0700 +++ b/libpst.spec.in Fri Sep 11 09:46:12 2015 -0700 @@ -160,6 +160,26 @@ %changelog +* Fri Sep 11 2015 Carl Byington 0.6.65-1 +- Jeffrey Morlan - fix multiple Content-Type headers + +* Thu Aug 27 2015 Jonathan Wakely - 0.6.64-6 +- Rebuilt for Boost 1.59 + +* Wed Jul 29 2015 Fedora Release Engineering - + 0.6.64-5 +- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 + +* Wed Jul 22 2015 David Tardon - 0.6.64-4 +- rebuild for Boost 1.58 + +* Wed Jun 17 2015 Fedora Release Engineering - + 0.6.64-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 0.6.64-2 +- Rebuilt for GCC 5 C++11 ABI change + * Mon Mar 09 2015 Carl Byington 0.6.64-1 - fix line wrap on python provides_exclude_from - fix unchecked errors found by cppcheck diff -r c006b76da81d -r a57c15b3108a src/readpst.c --- a/src/readpst.c Mon Mar 09 11:49:11 2015 -0700 +++ b/src/readpst.c Fri Sep 11 09:46:12 2015 -0700 @@ -1301,8 +1301,8 @@ void header_strip_field(char *header, char *field) { - char *t = header_get_field(header, field); - if (t) { + char *t; + while ((t = header_get_field(header, field))) { char *e = header_end_field(t); if (e) { if (t == header) e++; // if *t is not \n, we don't want to keep the \n at *e either.