diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2012-01-13 14:27:56 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2012-01-13 14:27:56 +0000 |
commit | 6c724df16d4da44d9f0a2ef71699b47f99a1ae3e (patch) | |
tree | af5e5c0876b101bfbab8f56a2e8eda2c4fa31224 /usr.sbin/smtpd/smtp.c | |
parent | 733650270f69b47100609088319104f2abffbb58 (diff) |
remove the status field from struct envelope, move it to the smtp
session, and cleanup the DS_* flags.
ok gilles@ chl@
Diffstat (limited to 'usr.sbin/smtpd/smtp.c')
-rw-r--r-- | usr.sbin/smtpd/smtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp.c b/usr.sbin/smtpd/smtp.c index e6af36df5af..dcc3ac222ac 100644 --- a/usr.sbin/smtpd/smtp.c +++ b/usr.sbin/smtpd/smtp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp.c,v 1.97 2012/01/12 18:06:18 eric Exp $ */ +/* $OpenBSD: smtp.c,v 1.98 2012/01/13 14:27:55 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -130,7 +130,7 @@ smtp_imsg(struct imsgev *iev, struct imsg *imsg) fatalx("smtp: session is gone"); if (s->s_flags & F_WRITEONLY) /* session is write-only, must not destroy it. */ - s->s_msg.status |= DS_TEMPFAILURE; + s->s_dstatus |= DS_TEMPFAILURE; else fatalx("smtp: corrupt session"); return; |