summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/srvrsmtp.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2006-08-17 05:10:43 +0000
committergshapiro <gshapiro@FreeBSD.org>2006-08-17 05:10:43 +0000
commitb5bc5fdd89208ac604b50d32ec5d41f94b837792 (patch)
treec10dc36b74bb3901092c2dfeefecdccd73b67a57 /contrib/sendmail/src/srvrsmtp.c
parenta006062051eaac061c57f489ea4d113d70218e2a (diff)
parent0a9c74f73599b0ca2981b57815b436d1f6de6191 (diff)
downloadFreeBSD-src-b5bc5fdd89208ac604b50d32ec5d41f94b837792.zip
FreeBSD-src-b5bc5fdd89208ac604b50d32ec5d41f94b837792.tar.gz
This commit was generated by cvs2svn to compensate for changes in r161389,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/sendmail/src/srvrsmtp.c')
-rw-r--r--contrib/sendmail/src/srvrsmtp.c7
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 */
OpenPOWER on IntegriCloud