X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fe86b6d55ac470e6e832c53ea2c71e680efe5274..39a9d9d85d0f2289d8c1257251311b7cf959c700:/uip/mhparse.c?ds=inline diff --git a/uip/mhparse.c b/uip/mhparse.c index 03d7ae35..c17bd785 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -245,8 +245,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. */