summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/enqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/enqueue.c')
-rw-r--r--usr.sbin/smtpd/enqueue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c
index e8c0470eeb4..0eb5cd47b3d 100644
--- a/usr.sbin/smtpd/enqueue.c
+++ b/usr.sbin/smtpd/enqueue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: enqueue.c,v 1.3 2009/01/28 00:19:27 gilles Exp $ */
+/* $OpenBSD: enqueue.c,v 1.4 2009/01/28 11:27:57 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -159,6 +159,8 @@ enqueue_add_recipient(struct message *messagep, char *recipient)
return 0;
}
+ message.session_rcpt = message.recipient;
+
mr.ss.ss_family = AF_INET6;
mr.ss.ss_len = sizeof(ssin6);
ssin6 = (struct sockaddr_in6 *)&mr.ss;