comparison src/lspst.c @ 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 d1f930be4711
comparison
equal deleted inserted replaced
297:8b3a827b71f4 298:201464dd356e
210 usage(argv[0]); 210 usage(argv[0]);
211 exit(2); 211 exit(2);
212 } 212 }
213 213
214 // Open PST file 214 // Open PST file
215 if (pst_open(&pstfile, argv[optind])) DIE(("Error opening File\n")); 215 if (pst_open(&pstfile, argv[optind], NULL)) DIE(("Error opening File\n"));
216 216
217 // Load PST index 217 // Load PST index
218 if (pst_load_index(&pstfile)) DIE(("Index Error\n")); 218 if (pst_load_index(&pstfile)) DIE(("Index Error\n"));
219 219
220 pst_load_extended_attributes(&pstfile); 220 pst_load_extended_attributes(&pstfile);