Mercurial > libpst
diff src/readpst.c @ 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 | a8577226f7a9 |
children | 7a91e30826d8 |
line wrap: on
line diff
--- 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.