summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0ac8c6e)
SCCS-vsn: usr.sbin/sendmail/src/readcf.c 8.76
-static char sccsid[] = "@(#)readcf.c 8.75 (Berkeley) %G%";
+static char sccsid[] = "@(#)readcf.c 8.76 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
if (safe)
sff |= SFF_OPENASROOT;
f = safefopen(filename, O_RDONLY, 0, sff);
if (safe)
sff |= SFF_OPENASROOT;
f = safefopen(filename, O_RDONLY, 0, sff);
- if (f == NULL && !optional)
- syserr("fileclass: cannot open %s", filename);
+ if (!optional)
+ syserr("fileclass: cannot open %s", filename);