SCCS-vsn: usr.sbin/sendmail/src/deliver.c 5.27
-static char sccsid[] = "@(#)deliver.c 5.26 (Berkeley) %G%";
+static char sccsid[] = "@(#)deliver.c 5.27 (Berkeley) %G%";
#endif /* not lint */
#include <sendmail.h>
#endif /* not lint */
#include <sendmail.h>
_res.retrans = 30;
_res.retry = 2;
}
_res.retrans = 30;
_res.retry = 2;
}
m = to->q_mailer;
host = to->q_host;
m = to->q_mailer;
host = to->q_host;
register char *statmsg;
extern char *SysExMsg[];
register int i;
register char *statmsg;
extern char *SysExMsg[];
register int i;
- extern int N_SysEx, h_errno;
+ extern int N_SysEx;
+#ifdef NAMED_BIND
+ extern int h_errno;
+#endif
char buf[MAXLINE];
#ifdef lint
char buf[MAXLINE];
#ifdef lint
else if (stat == EX_TEMPFAIL)
{
(void) strcpy(buf, SysExMsg[i]);
else if (stat == EX_TEMPFAIL)
{
(void) strcpy(buf, SysExMsg[i]);
if (h_errno == TRY_AGAIN)
{
extern char *errstring();
if (h_errno == TRY_AGAIN)
{
extern char *errstring();
statmsg = errstring(h_errno+MAX_ERRNO);
}
else
statmsg = errstring(h_errno+MAX_ERRNO);
}
else
e->e_message = newstr(&statmsg[4]);
}
errno = 0;
e->e_message = newstr(&statmsg[4]);
}
errno = 0;
}
\f/*
** LOGDELIVERY -- log the delivery in the system log
}
\f/*
** LOGDELIVERY -- log the delivery in the system log