diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2006-08-17 05:10:43 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2006-08-17 05:10:43 +0000 |
commit | 0a9c74f73599b0ca2981b57815b436d1f6de6191 (patch) | |
tree | 5f8206fabf17de836a5a6161ba1e0d5ff61638e4 /contrib/sendmail/src/srvrsmtp.c | |
parent | 1024e3943e17bd4407f0cf3a799cfa05d59f1059 (diff) | |
download | FreeBSD-src-0a9c74f73599b0ca2981b57815b436d1f6de6191.zip FreeBSD-src-0a9c74f73599b0ca2981b57815b436d1f6de6191.tar.gz |
Import sendmail 8.13.8
Diffstat (limited to 'contrib/sendmail/src/srvrsmtp.c')
-rw-r--r-- | contrib/sendmail/src/srvrsmtp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/sendmail/src/srvrsmtp.c b/contrib/sendmail/src/srvrsmtp.c index c75214f..d95b5a5 100644 --- a/contrib/sendmail/src/srvrsmtp.c +++ b/contrib/sendmail/src/srvrsmtp.c @@ -17,7 +17,7 @@ # include <libmilter/mfdef.h> #endif /* MILTER */ -SM_RCSID("@(#)$Id: srvrsmtp.c,v 8.924.2.2 2006/05/31 20:56:37 ca Exp $") +SM_RCSID("@(#)$Id: srvrsmtp.c,v 8.924.2.5 2006/07/07 16:29:39 ca Exp $") #include <sm/time.h> #include <sm/fdset.h> @@ -851,8 +851,9 @@ smtp(nullserver, d_flags, e) char state; char *response; - response = milter_connect(peerhostname, RealHostAddr, - e, &state); + q = macvalue(macid("{client_name}"), e); + SM_ASSERT(q != NULL); + response = milter_connect(q, RealHostAddr, e, &state); switch (state) { case SMFIR_REPLYCODE: /* REPLYCODE shouldn't happen */ |