From 81f3d7a9a3b44af0b9019da5d6673c0dbc218626 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Fri, 1 Dec 2006 16:25:49 +0100 Subject: [PATCH] oops, small regresion Signed-off-by: Pierre Habouzit --- send.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/send.c b/send.c index 82579d5..3b51b00 100644 --- a/send.c +++ b/send.c @@ -910,7 +910,7 @@ void mutt_set_followup_to (ENVELOPE * e) from field */ static address_t *set_reverse_name (ENVELOPE * env) { - address_t *tmp; + address_t *tmp = NULL; for (tmp = env->to; tmp; tmp = tmp->next) { if (mutt_addr_is_user(tmp)) @@ -924,6 +924,8 @@ static address_t *set_reverse_name (ENVELOPE * env) if (!mutt_addr_is_user(env->from)) return NULL; + tmp = env->from; + found: tmp = address_dup(tmp); if (!option(OPTREVREAL) || !tmp->personal) { -- 2.20.1