comparison src/pst2dii.cpp.in @ 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 db6db9a26a19
comparison
equal deleted inserted replaced
297:8b3a827b71f4 298:201464dd356e
692 // force a log file 692 // force a log file
693 if (!d_log) d_log = "pst2dii.log"; 693 if (!d_log) d_log = "pst2dii.log";
694 #endif 694 #endif
695 DEBUG_INIT(d_log, NULL); 695 DEBUG_INIT(d_log, NULL);
696 DEBUG_ENT("main"); 696 DEBUG_ENT("main");
697 RET_DERROR(pst_open(&pstfile, fname), 1, ("Error opening File\n")); 697 RET_DERROR(pst_open(&pstfile, fname, NULL), 1, ("Error opening File\n"));
698 RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n")); 698 RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n"));
699 699
700 pst_load_extended_attributes(&pstfile); 700 pst_load_extended_attributes(&pstfile);
701 701
702 d_ptr = pstfile.d_head; // first record is main record 702 d_ptr = pstfile.d_head; // first record is main record