diff options
author | 2009-03-01 13:08:47 +0000 | |
---|---|---|
committer | 2009-03-01 13:08:47 +0000 | |
commit | 4928ab9d0c032582d77557dd9ddfedec43fece41 (patch) | |
tree | 4f1240423714fe69ef29aaf579627626ca45c0f1 | |
parent | simplify *_open functions by passing them char * instead of struct (diff) | |
download | wireguard-openbsd-4928ab9d0c032582d77557dd9ddfedec43fece41.tar.xz wireguard-openbsd-4928ab9d0c032582d77557dd9ddfedec43fece41.zip |
make the condition under which delivery is made by SMTPD_USER more
explicit; ok gilles@
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index 149a35e8b7d..920308be39d 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.34 2009/03/01 13:07:52 jacekm Exp $ */ +/* $OpenBSD: smtpd.c,v 1.35 2009/03/01 13:08:47 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -314,7 +314,7 @@ parent_dispatch_mda(int fd, short event, void *p) file = path->rule.r_value.path; pw_name = path->pw_name; - if (*pw_name == '\0') { + if (path->rule.r_action == A_FILENAME) { file = path->u.filename; pw_name = SMTPD_USER; } |