summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/mailstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-02-07 09:40:41 +0000
committerpeter <peter@FreeBSD.org>1999-02-07 09:40:41 +0000
commit19c8fca2df7a6f39e5208229f428ec269fb3adbf (patch)
tree880a7cd01e2b6a0483601535c1a4c1b63a131b51 /contrib/sendmail/mailstats
parentd7ac03c10c41129058bfcad4473d778394642703 (diff)
downloadFreeBSD-src-19c8fca2df7a6f39e5208229f428ec269fb3adbf.zip
FreeBSD-src-19c8fca2df7a6f39e5208229f428ec269fb3adbf.tar.gz
Import sendmail 8.9.3 onto vendor branch, replacing previous interim
8.9.2 + patches version. Obtained from: ftp.sendmail.org
Diffstat (limited to 'contrib/sendmail/mailstats')
-rw-r--r--contrib/sendmail/mailstats/mailstats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sendmail/mailstats/mailstats.c b/contrib/sendmail/mailstats/mailstats.c
index 5df3b95..56e9357 100644
--- a/contrib/sendmail/mailstats/mailstats.c
+++ b/contrib/sendmail/mailstats/mailstats.c
@@ -18,7 +18,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)mailstats.c 8.28 (Berkeley) 9/14/1998";
+static char sccsid[] = "@(#)mailstats.c 8.29 (Berkeley) 1/25/1999";
#endif /* not lint */
#ifndef NOT_SENDMAIL
@@ -283,7 +283,7 @@ main(argc, argv)
frmsgs, frbytes, tomsgs, tobytes, rejmsgs, dismsgs);
close(fd);
fd = open(sfile, O_RDWR | O_TRUNC);
- if (fd > 0)
+ if (fd >= 0)
close(fd);
}
else
OpenPOWER on IntegriCloud