]> diplodocus.org Git - nmh/commitdiff
Only get a write lock on the sequences file if we're performing a pack
authorKen Hornstein <kenh@pobox.com>
Thu, 8 Sep 2016 17:13:57 +0000 (13:13 -0400)
committerKen Hornstein <kenh@pobox.com>
Thu, 8 Sep 2016 17:13:57 +0000 (13:13 -0400)
operation.

uip/folder.c

index f1af6f25ae11631dec8d3d85dac7233f591dbcfb..ef28a9b4dec1c4cbb322c4fe94e171e78207709d 100644 (file)
@@ -406,7 +406,7 @@ get_folder_info_body (char *fold, char *msg, boolean *crawl_children)
        /*
         * create message structure and get folder info
         */
-       if (!(mp = folder_read (fold, 1))) {
+       if (!(mp = folder_read (fold, fpack))) {
            admonish (NULL, "unable to read folder %s", fold);
            *crawl_children = FALSE;
            return 0;