diff options
author | peter <peter@FreeBSD.org> | 1999-02-07 09:43:30 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-02-07 09:43:30 +0000 |
commit | 486a3d0d3f8b6dbb3e11cce136d362f73a11e6c1 (patch) | |
tree | f87e3c270bb08b54cef3537732654d36bcb8afb6 /contrib/sendmail/mailstats | |
parent | ab5a9cbab45b524bd67604dcdbe60870697848d2 (diff) | |
download | FreeBSD-src-486a3d0d3f8b6dbb3e11cce136d362f73a11e6c1.zip FreeBSD-src-486a3d0d3f8b6dbb3e11cce136d362f73a11e6c1.tar.gz |
Merge 8.9.2+patches -> 8.9.3 changes into mainline.
Diffstat (limited to 'contrib/sendmail/mailstats')
-rw-r--r-- | contrib/sendmail/mailstats/mailstats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sendmail/mailstats/mailstats.c b/contrib/sendmail/mailstats/mailstats.c index 55a7b96..303b0a3 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 |