comparison src/pst2ldif.cpp @ 202:2f38c4ce606f

remove readpstlog, switch to plain ascii debug log files
author Carl Byington <carl@five-ten-sg.com>
date Mon, 18 May 2009 15:55:05 -0700
parents 0a4f7ecd7452
children 42b38d65f7e4
comparison
equal deleted inserted replaced
201:3850a3b11745 202:2f38c4ce606f
624 624
625 #ifdef DEBUG_ALL 625 #ifdef DEBUG_ALL
626 // force a log file 626 // force a log file
627 if (!d_log) d_log = "pst2ldif.log"; 627 if (!d_log) d_log = "pst2ldif.log";
628 #endif 628 #endif
629 DEBUG_INIT(d_log); 629 DEBUG_INIT(d_log, NULL);
630 DEBUG_REGISTER_CLOSE();
631 DEBUG_ENT("main"); 630 DEBUG_ENT("main");
632 RET_DERROR(pst_open(&pstfile, fname), 1, ("Error opening File\n")); 631 RET_DERROR(pst_open(&pstfile, fname), 1, ("Error opening File\n"));
633 RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n")); 632 RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n"));
634 633
635 pst_load_extended_attributes(&pstfile); 634 pst_load_extended_attributes(&pstfile);