]> diplodocus.org Git - nmh/blobdiff - uip/folder.c
Add compilation guard around lkopen_flock.
[nmh] / uip / folder.c
index e4defc70552a79d3318b5a73442019b2701e1e27..9fa298402e0268e1ed9aa18315d9b0d7fa33d06f 100644 (file)
@@ -12,7 +12,6 @@
 #include <h/mh.h>
 #include <h/crawl_folders.h>
 #include <h/utils.h>
-#include <errno.h>
 
 #define FOLDER_SWITCHES \
     X("all", 0, ALLSW) \
@@ -403,7 +402,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;
        }