From: Ken Hornstein Date: Thu, 8 Sep 2016 17:13:57 +0000 (-0400) Subject: Only get a write lock on the sequences file if we're performing a pack X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/5f7208794aead37a0bd63831b698f81054676844?ds=inline;hp=-c Only get a write lock on the sequences file if we're performing a pack operation. --- 5f7208794aead37a0bd63831b698f81054676844 diff --git a/uip/folder.c b/uip/folder.c index f1af6f25..ef28a9b4 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -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;