comparison src/pst2ldif.cpp @ 298:201464dd356e

add default character set for items where the pst file does not specify a character set
author Carl Byington <carl@five-ten-sg.com>
date Tue, 02 Aug 2011 17:02:39 -0700
parents 898118c3675e
children aedcf979f439
comparison
equal deleted inserted replaced
297:8b3a827b71f4 298:201464dd356e
627 // force a log file 627 // force a log file
628 if (!d_log) d_log = "pst2ldif.log"; 628 if (!d_log) d_log = "pst2ldif.log";
629 #endif 629 #endif
630 DEBUG_INIT(d_log, NULL); 630 DEBUG_INIT(d_log, NULL);
631 DEBUG_ENT("main"); 631 DEBUG_ENT("main");
632 RET_DERROR(pst_open(&pstfile, fname), 1, ("Error opening File\n")); 632 RET_DERROR(pst_open(&pstfile, fname, NULL), 1, ("Error opening File\n"));
633 RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n")); 633 RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n"));
634 634
635 pst_load_extended_attributes(&pstfile); 635 pst_load_extended_attributes(&pstfile);
636 636
637 d_ptr = pstfile.d_head; // first record is main record 637 d_ptr = pstfile.d_head; // first record is main record