]> diplodocus.org Git - nmh/blobdiff - uip/mhpath.c
Expanded mhpath(1) man page discussion of its handling of out-of-range
[nmh] / uip / mhpath.c
index ef16bce2025c1b72358e024e81b5ba2884d88799..29b59f4a115f4d511b3aaa9cc2b1be1e231cb3bc 100644 (file)
@@ -32,9 +32,7 @@ main(int argc, char **argv)
     struct msgs_array msgs = { 0, 0, NULL };
     struct msgs *mp;
 
-#ifdef LOCALE
     setlocale(LC_ALL, "");
-#endif
     invo_name = r1bindex (argv[0], '/');
 
     /* read user profile/context */
@@ -91,7 +89,7 @@ main(int argc, char **argv)
        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);
 
     /*