X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c703902741e0f7ce55f87e48ef0d00901195f1bc..d2e67a7e287e3145f12b3eb2efc30d6dc6331725:/uip/mhtest.c diff --git a/uip/mhtest.c b/uip/mhtest.c index 44cc3b23..092b542a 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -11,8 +11,6 @@ #include #include #include -#include -#include #include #include #include @@ -83,7 +81,6 @@ int type_ok (CT, int); void flush_errors (void); /* mhfree.c */ -void free_content (CT); extern CT *cts; void freects_done (int) NORETURN; @@ -107,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 */ @@ -271,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 */