]> diplodocus.org Git - nmh/blobdiff - uip/forw.c
Fixed three LC_ALL settings:
[nmh] / uip / forw.c
index 18a4f03..9eeb612 100644 (file)
@@ -119,9 +119,7 @@ main (int argc, char **argv)
 
     int buildsw = 0;
 
-#ifdef LOCALE
     setlocale(LC_ALL, "");
-#endif
     invo_name = r1bindex (argv[0], '/');
 
     /* read user profile/context */
@@ -363,7 +361,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 */