]> diplodocus.org Git - nmh/blobdiff - uip/mhstore.c
Make sure to mark the sequence file as closed in the msgs struct.
[nmh] / uip / mhstore.c
index 61a54e631a04daefea38ca460af7f16dcda35d52..cd84aeefd29b1576450c10b006567339b29bf0d6 100644 (file)
@@ -86,7 +86,6 @@ void flush_errors (void);
 void store_all_messages (CT *);
 
 /* mhfree.c */
-void free_content (CT);
 extern CT *cts;
 void freects_done (int) NORETURN;
 
@@ -305,7 +304,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 */
@@ -384,7 +383,6 @@ static void
 pipeser (int i)
 {
     if (i == SIGQUIT) {
-       unlink ("core");
        fflush (stdout);
        fprintf (stderr, "\n");
        fflush (stderr);