From 6982b56ec75ed0be357b268db87ff1d8451088c5 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Tue, 10 Nov 2009 09:53:41 +0000 Subject: sync code with comment, from gilles@ --- usr.sbin/smtpd/lka.c | 4 ++-- 1 file 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 @@ -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)); -- cgit v1.2.3