X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f67e3671c985ad8095dc6fcc8be7ba6dd25cdf63..b11a86cf7a0fc5b0dfef070e0bc65754c7d26016:/uip/packf.c diff --git a/uip/packf.c b/uip/packf.c index 53e696af..6f951914 100644 --- a/uip/packf.c +++ b/uip/packf.c @@ -11,7 +11,6 @@ #include #include #include -#include #define PACKF_SWITCHES \ X("file name", 0, FILESW) \ @@ -49,9 +48,7 @@ main (int argc, char **argv) done=mbxclose_done; -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = r1bindex (argv[0], '/'); /* read user profile/context */ @@ -138,7 +135,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 */