From 0a9c74f73599b0ca2981b57815b436d1f6de6191 Mon Sep 17 00:00:00 2001 From: gshapiro Date: Thu, 17 Aug 2006 05:10:43 +0000 Subject: Import sendmail 8.13.8 --- contrib/sendmail/src/srvrsmtp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'contrib/sendmail/src/srvrsmtp.c') 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 #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 #include @@ -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 */ -- cgit v1.1