]> diplodocus.org Git - nmh/blobdiff - uip/packf.c
Implemented -build switch for comp, at the request of the MH-E developers.
[nmh] / uip / packf.c
index 53e696afb78f69233a72311b9e1cf8f6c5ee84b8..f070f48d81bfe9cf2730348b44ec643275ae6c07 100644 (file)
@@ -11,7 +11,6 @@
 #include <fcntl.h>
 #include <h/dropsbr.h>
 #include <h/utils.h>
 #include <fcntl.h>
 #include <h/dropsbr.h>
 #include <h/utils.h>
-#include <errno.h>
 
 #define PACKF_SWITCHES \
     X("file name", 0, FILESW) \
 
 #define PACKF_SWITCHES \
     X("file name", 0, FILESW) \
@@ -138,7 +137,7 @@ main (int argc, char **argv)
        adios (maildir, "unable to change directory to ");
 
     /* read folder and create message structure */
        adios (maildir, "unable to change directory to ");
 
     /* read folder and create message structure */
-    if (!(mp = folder_read (folder)))
+    if (!(mp = folder_read (folder, 1)))
        adios (NULL, "unable to read folder %s", folder);
 
     /* check for empty folder */
        adios (NULL, "unable to read folder %s", folder);
 
     /* check for empty folder */