summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-11-10 09:53:41 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-11-10 09:53:41 +0000
commit6982b56ec75ed0be357b268db87ff1d8451088c5 (patch)
tree2af5ca8566e4f7f49ede710cd559c5e9a82aae7f
parent7207fbdc7f170b0373c66f48fe5f2dbb0661aa20 (diff)
sync code with comment, from gilles@
-rw-r--r--usr.sbin/smtpd/lka.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c
index d93b1c761d7..83273b6410c 100644
--- a/usr.sbin/smtpd/lka.c
+++ b/usr.sbin/smtpd/lka.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka.c,v 1.90 2009/11/10 01:09:24 gilles Exp $ */
+/* $OpenBSD: lka.c,v 1.91 2009/11/10 09:53:40 jacekm Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -959,7 +959,7 @@ lka_expansion_done(struct smtpd *env, struct lkasession *lkasession)
struct path *path;
/* delivery list is empty OR expansion led to an error, reject */
- if (TAILQ_FIRST(&lkasession->deliverylist) ||
+ if (TAILQ_FIRST(&lkasession->deliverylist) == NULL ||
lkasession->flags & F_ERROR) {
imsg_compose_event(env->sc_ievs[PROC_MFA], IMSG_LKA_RCPT, 0, 0,
-1, &lkasession->ss, sizeof(struct submit_status));