]> diplodocus.org Git - nmh/blobdiff - uip/dist.c
Fix up a few warnings and problems.
[nmh] / uip / dist.c
index 29820f300bad5d784315aea246c393763a2765b2..d3ceaec25a480e4cf591570a0b8b9b086198892b 100644 (file)
@@ -64,7 +64,7 @@ static struct swit aqrl[] = {
     { "replace", 0, YESW },
     { "list", 0, LISTDSW },
     { "refile +folder", 0, REFILSW },
-    { NULL, 0 }
+    { NULL, 0, 0 }
 };
 
 
@@ -281,7 +281,7 @@ try_it_again:
            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 */