]> diplodocus.org Git - nmh/blobdiff - uip/mhshow.c
Try using -man instead of -mandoc in test-manpages on OpenBSD
[nmh] / uip / mhshow.c
index f5666b072397bf5e1537bd6cb34b9b59bbcc55f5..94e5e0647778f2291fa7a87f844b2d9cef7fec76 100644 (file)
@@ -11,8 +11,6 @@
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
 #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>
 #include <h/mts.h>
 #include <h/tws.h>
 #include <h/mime.h>
@@ -71,7 +69,6 @@ extern char *cache_private;
 extern int pausesw;
 extern int serialsw;
 extern char *progsw;
 extern int pausesw;
 extern int serialsw;
 extern char *progsw;
-extern int nolist;
 extern int nomore;     /* flags for moreproc/header display */
 extern char *formsw;
 
 extern int nomore;     /* flags for moreproc/header display */
 extern char *formsw;
 
@@ -336,7 +333,7 @@ do_cache:
            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 */