]> diplodocus.org Git - nmh/blobdiff - uip/repl.c
Sun Studio cc -V must output to stderr.
[nmh] / uip / repl.c
index b089dbac1e7585fae6513a4c074e54a4f247e85e..840b762069beed0a145b2948b053e3875f9dfd07 100644 (file)
@@ -88,7 +88,7 @@ static struct swit aqrl[] = {
     { "replace", 0, YESW },
     { "list", 0, LISTDSW },
     { "refile +folder", 0, REFILSW },
     { "replace", 0, YESW },
     { "list", 0, LISTDSW },
     { "refile +folder", 0, REFILSW },
-    { NULL, 0 }
+    { NULL, 0, 0 }
 };
 
 short ccto = -1;               /* global for replsbr */
 };
 
 short ccto = -1;               /* global for replsbr */
@@ -386,7 +386,7 @@ try_it_again:
            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 */