]> diplodocus.org Git - nmh/blobdiff - uip/burst.c
Enable asserts when debug is enabled, in build_nmh.
[nmh] / uip / burst.c
index e4792335f4d3f5bd2906cbc16d92efb82591e001..e838422b93c7e2b636f3bd084acb7d46dd669ce1 100644 (file)
@@ -75,9 +75,7 @@ main (int argc, char **argv)
     struct smsg *smsgs;
     struct msgs *mp;
 
-#ifdef LOCALE
     setlocale(LC_ALL, "");
-#endif
     invo_name = r1bindex (argv[0], '/');
 
     /* read user profile/context */
@@ -158,7 +156,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);
 
     /* check for empty folder */