X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ad1e8ec3d33e9d41ab05fdc17f5074d3afa30e27..a75b45f604c4e48b0f39be25ce59cd1955e5f9a4:/uip/mhshow.c?ds=sidebyside diff --git a/uip/mhshow.c b/uip/mhshow.c index 4cbe411a..94e5e064 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -11,8 +11,6 @@ #include #include #include -#include -#include #include #include #include @@ -71,7 +69,6 @@ extern char *cache_private; extern int pausesw; extern int serialsw; extern char *progsw; -extern int nolist; extern int nomore; /* flags for moreproc/header display */ extern char *formsw; @@ -99,7 +96,6 @@ void flush_errors (void); void show_all_messages (CT *); /* mhfree.c */ -void free_content (CT); extern CT *cts; void freects_done (int) NORETURN; @@ -337,7 +333,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, 1))) adios (NULL, "unable to read folder %s", folder); /* check for empty folder */