]> diplodocus.org Git - nmh/blobdiff - uip/scan.c
Don't lock and write the sequence files until after the searching
[nmh] / uip / scan.c
index 459fcb0730b38ee602d8b967e6e0498f4d2b0659..2996a2b5fc7bb2c86cdcc8ec41b042dd41b506c9 100644 (file)
@@ -201,7 +201,7 @@ main (int argc, char **argv)
        adios (maildir, "unable to change directory to");
 
     /* read folder and create message structure */
-    if (!(mp = folder_read (folder)))
+    if (!(mp = folder_read (folder, 1)))
        adios (NULL, "unable to read folder %s", folder);
 
     /* check for empty folder */