diff options
Diffstat (limited to 'usr.sbin/sendmail/src/util.c')
-rw-r--r-- | usr.sbin/sendmail/src/util.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/sendmail/src/util.c b/usr.sbin/sendmail/src/util.c index 2e5aebe..c655b62 100644 --- a/usr.sbin/sendmail/src/util.c +++ b/usr.sbin/sendmail/src/util.c @@ -33,7 +33,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)util.c 8.137 (Berkeley) 10/22/97"; +static char sccsid[] = "@(#)util.c 8.133 (Berkeley) 8/1/97"; #endif /* not lint */ # include "sendmail.h" @@ -192,7 +192,7 @@ copyqueue(addr) addr = addr->q_next; } *tail = NULL; - + return ret; } /* @@ -520,7 +520,6 @@ putline(l, mci) ** pxflags -- flag bits: ** PXLF_MAPFROM -- map From_ to >From_. ** PXLF_STRIP8BIT -- strip 8th bit. -** PXLF_HEADER -- map bare newline in header to newline space. ** ** Returns: ** none @@ -627,8 +626,7 @@ putxline(l, len, mci, pxflags) fputs(mci->mci_mailer->m_eol, mci->mci_out); if (l < end && *l == '\n') { - if (*++l != ' ' && *l != '\t' && *l != '\0' && - bitset(PXLF_HEADER, pxflags)) + if (*++l != ' ' && *l != '\t' && *l != '\0') { (void) putc(' ', mci->mci_out); if (TrafficLogFile != NULL) @@ -1060,6 +1058,7 @@ checkfd012(where) { #if XDEBUG register int i; + struct stat stbuf; for (i = 0; i < 3; i++) fill_fd(i, where); @@ -1200,6 +1199,7 @@ dumpfd(fd, printclosed, logit) int i; struct stat st; char buf[200]; + extern char *hostnamebyanyaddr(); p = buf; snprintf(p, SPACELEFT(buf, p), "%3d: ", fd); @@ -1311,7 +1311,7 @@ defprint: printit: if (logit) - sm_syslog(LOG_DEBUG, CurEnv ? CurEnv->e_id : NULL, + sm_syslog(LOG_DEBUG, CurEnv->e_id, "%.800s", buf); else printf("%s\n", buf); |