X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fcontext_read.c;h=3084ff531a19174573fd4f4476d68cff7041ce5d;hp=e6cdfff03f275abe1f2810fddf4b30ba5b92ccc2;hb=4885712264980e6cbc2039f9158027bee9213475;hpb=5afa7072e3fe7fc42287e2149e1c23b363700795 diff --git a/sbr/context_read.c b/sbr/context_read.c index e6cdfff..3084ff5 100644 --- a/sbr/context_read.c +++ b/sbr/context_read.c @@ -28,8 +28,6 @@ #include /* system call errors */ #include /* structure for getpwuid() results */ -extern int errno; /* system call error number */ - void context_read (void) { @@ -124,9 +122,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;