]> diplodocus.org Git - nmh/blobdiff - uip/mhlist.c
Allow -clobber with mhstore -outfile.
[nmh] / uip / mhlist.c
index 6ab50e399f24ec7312313827b42ae900e8402542..c63cf888ce90b5eeaa461c442a4c79dc7fa4ed5d 100644 (file)
@@ -11,8 +11,6 @@
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
-#include <errno.h>
-#include <signal.h>
 #include <h/mts.h>
 #include <h/tws.h>
 #include <h/mime.h>
@@ -278,7 +276,7 @@ do_cache:
            adios (maildir, "unable to change directory to");
 
        /* read folder and create message structure */
-       if (!(mp = folder_read (folder)))
+       if (!(mp = folder_read (folder, 0)))
            adios (NULL, "unable to read folder %s", folder);
 
        /* check for empty folder */