]> 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 1865f14c02f8c9b76eecd843dbfedf77dd721068..cd84aeefd29b1576450c10b006567339b29bf0d6 100644 (file)
@@ -304,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 */