]> diplodocus.org Git - nmh/blobdiff - uip/mhfixmsg.c
Make sure to mark the sequence file as closed in the msgs struct.
[nmh] / uip / mhfixmsg.c
index 65e602f1ff24430c2509fd116286a93252551f23..150600a891f2dff90a90bbf38826f5b5ddcb7fb4 100644 (file)
@@ -325,7 +325,7 @@ main (int argc, char **argv) {
             adios (maildir, "unable to change directory to");
 
         /* read folder and create message structure */
             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 */
             adios (NULL, "unable to read folder %s", folder);
 
         /* check for empty folder */