From: Pierre Habouzit Date: Fri, 1 Dec 2006 15:25:49 +0000 (+0100) Subject: oops, small regresion X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=81f3d7a9a3b44af0b9019da5d6673c0dbc218626;p=apps%2Fmadmutt.git oops, small regresion Signed-off-by: Pierre Habouzit --- 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) {