X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c703902741e0f7ce55f87e48ef0d00901195f1bc..a75b45f604c4e48b0f39be25ce59cd1955e5f9a4:/uip/mhshow.c diff --git a/uip/mhshow.c b/uip/mhshow.c index 8e1a9003..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 */ @@ -430,7 +426,6 @@ static void pipeser (int i) { if (i == SIGQUIT) { - unlink ("core"); fflush (stdout); fprintf (stderr, "\n"); fflush (stderr);