From 5fb5bbf08b394e8a971d96f1b964a2327344381e Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Tue, 21 May 2019 14:29:07 +0100 Subject: [PATCH] fix: reverse_name / alternates Fixes: #1581 --- send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/send.c b/send.c index 503e77fe1..03c8d2eb3 100644 --- a/send.c +++ b/send.c @@ -1869,7 +1869,7 @@ int ci_send_message(SendFlags flags, struct Email *msg, const char *tempfile, if (el) en = STAILQ_FIRST(el); if (en) - cur = STAILQ_NEXT(en, entries) ? en->email : NULL; + cur = STAILQ_NEXT(en, entries) ? NULL : en->email; int rc = -1; -- 2.40.0