diff options
-rw-r--r-- | usr.sbin/sendmail/src/collect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/sendmail/src/collect.c b/usr.sbin/sendmail/src/collect.c index dec7a84..d5d8982 100644 --- a/usr.sbin/sendmail/src/collect.c +++ b/usr.sbin/sendmail/src/collect.c @@ -94,7 +94,7 @@ collect(fp, smtpmode, requeueflag, hdrp, e) volatile bool ignrdot = smtpmode ? FALSE : IgnrDot; volatile time_t dbto = smtpmode ? TimeOuts.to_datablock : 0; register char *volatile bp; - volatile int c = '\0'; + volatile int c = EOF; volatile bool inputerr = FALSE; bool headeronly; char *volatile buf; @@ -192,7 +192,6 @@ collect(fp, smtpmode, requeueflag, hdrp, e) c = *--pbp; else { - c = EOF; while (!feof(fp) && !ferror(fp)) { errno = 0; |