]> diplodocus.org Git - nmh/blobdiff - uip/mhparse.c
mh.h: Remove unused MODIFIED and DELETED macros.
[nmh] / uip / mhparse.c
index 03d7ae357b957601357a2f27b77a4bfa22d0f8eb..e10cd193a6b7bac9ab126fc2889660ad4de657fa 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * mhparse.c -- routines to parse the contents of MIME messages
+/* mhparse.c -- routines to parse the contents of MIME messages
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -245,8 +243,8 @@ parse_mime (char *file)
            return NULL;
        }
        fseek (fp, 0L, SEEK_SET);
-    } else if (lstat (file, &statbuf) == NOTOK) {
-       advise (file, "unable to lstat");
+    } else if (stat (file, &statbuf) == NOTOK) {
+       advise (file, "unable to stat");
        return NULL;
     } else if (S_ISDIR(statbuf.st_mode)) {
        /* Don't try to parse a directory. */