SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.25
#ifndef lint
#ifdef DAEMON
#ifndef lint
#ifdef DAEMON
-static char sccsid[] = "@(#)daemon.c 8.24 (Berkeley) %G% (with daemon mode)";
+static char sccsid[] = "@(#)daemon.c 8.25 (Berkeley) %G% (with daemon mode)";
-static char sccsid[] = "@(#)daemon.c 8.24 (Berkeley) %G% (without daemon mode)";
+static char sccsid[] = "@(#)daemon.c 8.25 (Berkeley) %G% (without daemon mode)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
** Sets RealHostName to the name of the host at the other end.
*/
** Sets RealHostName to the name of the host at the other end.
*/
static jmp_buf CtxAuthTimeout;
static jmp_buf CtxAuthTimeout;
SOCKADDR fa;
int falen;
register char *p;
SOCKADDR fa;
int falen;
register char *p;
SOCKADDR la;
int lalen;
register struct servent *sp;
SOCKADDR la;
int lalen;
register struct servent *sp;
RealHostName = newstr(p);
RealHostAddr = fa;
RealHostName = newstr(p);
RealHostAddr = fa;
lalen = sizeof la;
if (fa.sa.sa_family != AF_INET ||
getsockname(fd, &la.sa, &lalen) < 0 || lalen <= 0 ||
lalen = sizeof la;
if (fa.sa.sa_family != AF_INET ||
getsockname(fd, &la.sa, &lalen) < 0 || lalen <= 0 ||