changeset 349:a57c15b3108a

Jeffrey Morlan - fix multiple Content-Type headers
author Carl Byington <carl@five-ten-sg.com>
date Fri, 11 Sep 2015 09:46:12 -0700
parents c006b76da81d
children 7a91e30826d8
files libpst.spec.in src/readpst.c
diffstat 2 files changed, 22 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 <carl@five-ten-sg.com> 0.6.65-1
+- Jeffrey Morlan - fix multiple Content-Type headers
+
+* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.6.64-6
+- Rebuilt for Boost 1.59
+
+* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> -
+ 0.6.64-5
+- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
+
+* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.6.64-4
+- rebuild for Boost 1.58
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> -
+ 0.6.64-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.6.64-2
+- Rebuilt for GCC 5 C++11 ABI change
+
 * Mon Mar 09 2015 Carl Byington <carl@five-ten-sg.com> 0.6.64-1
 - fix line wrap on python provides_exclude_from
 - fix unchecked errors found by cppcheck
--- 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.