summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sendmail/src
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-02-14 02:44:45 +0000
committerache <ache@FreeBSD.org>1997-02-14 02:44:45 +0000
commit5bdbe29aefeccac2e286c9c2956e0ebcd769145a (patch)
tree7f71371b663d5fb7ee7f7ef64a65a7c428604f42 /usr.sbin/sendmail/src
parent5df56eba05bd42aabc3b3f041306394f28c2feac (diff)
downloadFreeBSD-src-5bdbe29aefeccac2e286c9c2956e0ebcd769145a.zip
FreeBSD-src-5bdbe29aefeccac2e286c9c2956e0ebcd769145a.tar.gz
Back out clearerr fix after discussion in sendmail-bugs,
it gains nothing
Diffstat (limited to 'usr.sbin/sendmail/src')
-rw-r--r--usr.sbin/sendmail/src/collect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/sendmail/src/collect.c b/usr.sbin/sendmail/src/collect.c
index 7c5916b..dec7a84 100644
--- a/usr.sbin/sendmail/src/collect.c
+++ b/usr.sbin/sendmail/src/collect.c
@@ -199,8 +199,7 @@ collect(fp, smtpmode, requeueflag, hdrp, e)
c = getc(fp);
if (errno != EINTR)
break;
- if (c != EOF)
- clearerr(fp);
+ clearerr(fp);
}
CollectProgress = TRUE;
if (TrafficLogFile != NULL && !headeronly)
OpenPOWER on IntegriCloud