#include <h/mh.h>
#include <h/crawl_folders.h>
#include <h/utils.h>
-#include <errno.h>
#define FOLDER_SWITCHES \
X("all", 0, ALLSW) \
/*
* 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;
}