summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/smtpd/smtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtp.c b/usr.sbin/smtpd/smtp.c
index 0884f109f2f..e1f939f66e5 100644
--- a/usr.sbin/smtpd/smtp.c
+++ b/usr.sbin/smtpd/smtp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp.c,v 1.62 2009/09/18 00:04:26 jacekm Exp $ */
+/* $OpenBSD: smtp.c,v 1.63 2009/10/25 21:06:06 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -540,6 +540,7 @@ smtp_dispatch_control(int sig, short event, void *p)
s->s_env = env;
s->s_l = &l;
s->s_msg.flags |= F_MESSAGE_ENQUEUED;
+ (void)strlcpy(s->s_msg.tag, s->s_l->tag, sizeof(s->s_msg.tag));
bzero(&hints, sizeof(hints));
hints.ai_family = PF_UNSPEC;