diff src/libpst.c @ 60:97b7706bdda2

Work around bogus 7c.b5 blocks in some messages that have been read. They appear to have attachments, but of some unknown format. Before the message was read, it did not have any attachments. Use autoscan to cleanup our autoconf system. Use autoconf to detect when we need to use our XGetopt files and other header files. More fields, including BCC. Fix missing LE32_CPU byte swapping for FILETIME types.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 16 Feb 2008 12:26:35 -0800
parents 7d5c637aaafb
children cfd6175f9334
line wrap: on
line diff
--- a/src/libpst.c	Thu Feb 14 14:55:32 2008 -0800
+++ b/src/libpst.c	Sat Feb 16 12:26:35 2008 -0800
@@ -1171,10 +1171,11 @@
         DEBUG_EMAIL(("ATTACHMENT processing attachment\n"));
         if ((list = pst_parse_block(pf, id_ptr->id, id2_head, NULL)) == NULL) {
             DEBUG_WARN(("ERROR error processing main attachment record\n"));
-            if (item) pst_freeItem(item);
+            //if (item) pst_freeItem(item);
             if (id2_head) pst_free_id2(id2_head);
             DEBUG_RET();
-            return NULL;
+            //return NULL;
+            return item;
         }
         else {
             x = 0;