comparison 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
comparison
equal deleted inserted replaced
59:7d5c637aaafb 60:97b7706bdda2
1169 } 1169 }
1170 1170
1171 DEBUG_EMAIL(("ATTACHMENT processing attachment\n")); 1171 DEBUG_EMAIL(("ATTACHMENT processing attachment\n"));
1172 if ((list = pst_parse_block(pf, id_ptr->id, id2_head, NULL)) == NULL) { 1172 if ((list = pst_parse_block(pf, id_ptr->id, id2_head, NULL)) == NULL) {
1173 DEBUG_WARN(("ERROR error processing main attachment record\n")); 1173 DEBUG_WARN(("ERROR error processing main attachment record\n"));
1174 if (item) pst_freeItem(item); 1174 //if (item) pst_freeItem(item);
1175 if (id2_head) pst_free_id2(id2_head); 1175 if (id2_head) pst_free_id2(id2_head);
1176 DEBUG_RET(); 1176 DEBUG_RET();
1177 return NULL; 1177 //return NULL;
1178 return item;
1178 } 1179 }
1179 else { 1180 else {
1180 x = 0; 1181 x = 0;
1181 while (x < list->count_array) { 1182 while (x < list->count_array) {
1182 attach = (pst_item_attach*) xmalloc (sizeof(pst_item_attach)); 1183 attach = (pst_item_attach*) xmalloc (sizeof(pst_item_attach));