]> 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 69c066d17f25e0e602d046f089be08ad29fea8f2..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 */