diff src/lspst.c @ 59:7d5c637aaafb

General cleanup and code fixes. Use autoscan to cleanup our autoconf system. Use autoconf to detect when we need to use our XGetopt files and other header files. Decode BCC field. Fix missing LE32_CPU byte swapping for FILETIME types.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 14 Feb 2008 14:55:32 -0800
parents 034641c26ab9
children 3cb02cb1e6cd
line wrap: on
line diff
--- a/src/lspst.c	Wed Feb 06 23:05:56 2008 -0800
+++ b/src/lspst.c	Thu Feb 14 14:55:32 2008 -0800
@@ -221,7 +221,7 @@
 	}
 
     // Open PST file
-    if (pst_open(&pstfile, argv[optind], "r")) DIE(("Error opening File\n"));
+    if (pst_open(&pstfile, argv[optind])) DIE(("Error opening File\n"));
 
     // Load PST index
     if (pst_load_index(&pstfile)) DIE(("Index Error\n"));