X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fe86b6d55ac470e6e832c53ea2c71e680efe5274..28bf8af2f50b353b5702b8c9214d4106f998c638:/uip/mhparse.c diff --git a/uip/mhparse.c b/uip/mhparse.c index 03d7ae35..e10cd193 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -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. */