]> diplodocus.org Git - nmh/blobdiff - sbr/context_read.c
Increased size of file command buffer in make_mime_composition_file_entry()
[nmh] / sbr / context_read.c
index a655effc41bc20d54ac6cadebd9a1103c838df7f..164f679478b61dfd95bf8bbc8940c73a5b9afc67 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 #include <h/mh.h>                              /* mh internals */
  */
 
 #include <h/mh.h>                              /* mh internals */
-#include <errno.h>                             /* system call errors */
 #include <pwd.h>                               /* structure for getpwuid() results */
 
 void
 #include <pwd.h>                               /* structure for getpwuid() results */
 
 void
@@ -136,9 +135,9 @@ context_read (void)
     
     ctxpath = getcpy (m_maildir (cp));
 
     
     ctxpath = getcpy (m_maildir (cp));
 
-    if ((ib = lkfopen (ctxpath, "r"))) {
+    if ((ib = lkfopendata (ctxpath, "r"))) {
        readconfig ((struct node **) 0, ib, cp, 1);
        readconfig ((struct node **) 0, ib, cp, 1);
-       lkfclose (ib, ctxpath);
+       lkfclosedata (ib, ctxpath);
     }
 
     return;
     }
 
     return;