diff src/pst2ldif.cpp @ 143:fdc58ad2c758 stable-0-6-28

fix embedded rfc822 messages with attachments
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Feb 2009 12:33:49 -0800
parents fc11b1d1ad34
children cda7c812ec01
line wrap: on
line diff
--- a/src/pst2ldif.cpp	Mon Feb 23 20:40:51 2009 -0800
+++ b/src/pst2ldif.cpp	Tue Feb 24 12:33:49 2009 -0800
@@ -111,7 +111,7 @@
     pst_item *item = NULL;
     while (d_ptr) {
         if (d_ptr->desc) {
-            item = pst_parse_item(&pstfile, d_ptr);
+            item = pst_parse_item(&pstfile, d_ptr, NULL);
             DEBUG_INFO(("item pointer is %p\n", item));
             if (item) {
                 if (item->folder && d_ptr->child && strcasecmp(item->file_as, "Deleted Items")) {
@@ -609,7 +609,7 @@
     pst_load_extended_attributes(&pstfile);
 
     d_ptr = pstfile.d_head; // first record is main record
-    item  = (pst_item*)pst_parse_item(&pstfile, d_ptr);
+    item  = (pst_item*)pst_parse_item(&pstfile, d_ptr, NULL);
     if (!item || !item->message_store) {
         DEBUG_RET();
         DIE(("main: Could not get root record\n"));