diff src/pst2ldif.cpp @ 46:b2a7f2e0926a

more fixes for 64 bit format
author carl
date Sat, 12 Jan 2008 15:20:53 -0800
parents 183ae993b9ad
children 034641c26ab9
line wrap: on
line diff
--- a/src/pst2ldif.cpp	Tue Jan 08 16:33:23 2008 -0800
+++ b/src/pst2ldif.cpp	Sat Jan 12 15:20:53 2008 -0800
@@ -147,7 +147,7 @@
 	pst_item *item = NULL;
 	while (d_ptr) {
 		if (d_ptr->desc) {
-			item = (pst_item*)_pst_parse_item(&pstfile, d_ptr);
+			item = (pst_item*)pst_parse_item(&pstfile, d_ptr);
 			DEBUG_INFO(("item pointer is %p\n", item));
 			if (item) {
 				if (item->message_store) {
@@ -363,7 +363,7 @@
 					DEBUG_INFO(("item is not a contact\n"));
 				}
 			}
-			_pst_freeItem(item);
+			pst_freeItem(item);
 		}
 		d_ptr = d_ptr->next;
 	}
@@ -431,7 +431,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);
 	if (!item || !item->message_store) {
 		DEBUG_RET();
 		DIE(("main: Could not get root record\n"));
@@ -443,7 +443,7 @@
 		DIE(("Top of folders record not found. Cannot continue\n"));
 	}
 
-	_pst_freeItem(item);
+	pst_freeItem(item);
 
 	// write the ldap header
 	printf("dn: %s\n", ldap_base);