]> diplodocus.org Git - nmh/blobdiff - sbr/context_read.c
It does just what it says on the tin.
[nmh] / sbr / context_read.c
index a4c9820a7807f3ec5d9b158e69de70709f941f80..a8d142021f002916d01282fd670a1a9d5fe2631e 100644 (file)
@@ -53,8 +53,7 @@ context_read (void)
     if ((mypath = getenv("HOME")) == NULL) {
        if ((pw = getpwuid(getuid())) == NULL || *pw->pw_dir == '\0')
            adios(NULL, "cannot determine your home directory");
-       else
-           mypath = pw->pw_dir;
+        mypath = pw->pw_dir;
     }
 
     /*
@@ -141,7 +140,7 @@ context_read (void)
     ctxpath = getcpy (m_maildir (cp));
 
     if ((ib = lkfopendata (ctxpath, "r", &failed_to_lock))) {
-       readconfig ((struct node **) 0, ib, cp, 1);
+       readconfig(NULL, ib, cp, 1);
        lkfclosedata (ib, ctxpath);
     }
 }