X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2e768e3cc0ce768373d3320eca4cdd08b8cf646a..d2e67a7e287e3145f12b3eb2efc30d6dc6331725:/uip/mhtest.c diff --git a/uip/mhtest.c b/uip/mhtest.c index cf7f8642..092b542a 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -11,8 +11,6 @@ #include #include #include -#include -#include #include #include #include @@ -106,9 +104,7 @@ main (int argc, char **argv) done=freects_done; -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = r1bindex (argv[0], '/'); /* read user profile/context */ @@ -270,7 +266,7 @@ do_cache: 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 */