X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/de4636bb664106d9932ae7acb517e471b848f1f3..222746a55368b05ab933e63103743cbdc36dd850:/uip/folder.c diff --git a/uip/folder.c b/uip/folder.c index e4defc70..a2e6a4a8 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -12,7 +12,6 @@ #include #include #include -#include #define FOLDER_SWITCHES \ X("all", 0, ALLSW) \ @@ -102,9 +101,7 @@ main (int argc, char **argv) char *cp, *dp, *msg = NULL, *argfolder = NULL; char **ap, **argp, buf[BUFSIZ], **arguments; -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = r1bindex (argv[0], '/'); /* read user profile/context */ @@ -403,7 +400,7 @@ get_folder_info_body (char *fold, char *msg, boolean *crawl_children) /* * create message structure and get folder info */ - if (!(mp = folder_read (fold))) { + if (!(mp = folder_read (fold, 1))) { admonish (NULL, "unable to read folder %s", fold); return 0; }