]> diplodocus.org Git - nmh/blobdiff - sbr/context_read.c
status of action wasn't saved for use by 'N' result, so when 'N' was
[nmh] / sbr / context_read.c
index e6cdfff03f275abe1f2810fddf4b30ba5b92ccc2..c3fe5995943e48bd0ec295bc0bebad862498653a 100644 (file)
@@ -124,9 +124,9 @@ context_read (void)
 
     ctxpath = getcpy (m_maildir (cp));
 
-    if ((ib = fopen (ctxpath, "r"))) {
+    if ((ib = lkfopen (ctxpath, "r"))) {
        readconfig ((struct node **) 0, ib, cp, 1);
-       fclose (ib);
+       lkfclose (ib, ctxpath);
     }
 
     return;