X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=alias.c;h=bc5a25a4be4363a3b5b195835d9e6833e61f6497;hb=df5b14084b39821395408679a2fb6f74605182ce;hp=c148c539baec08faaf179245d685232522d919cd;hpb=cfc49a0d8c3ac2c0bd4b217026d0740c55f2e5db;p=apps%2Fmadmutt.git diff --git a/alias.c b/alias.c index c148c53..bc5a25a 100644 --- a/alias.c +++ b/alias.c @@ -79,7 +79,7 @@ static address_t *mutt_expand_aliases_r (address_t * a, LIST ** expn) u->data = m_strdup(a->mailbox); u->next = *expn; *expn = u; - w = rfc822_cpy_adr (t); + w = address_list_dup (t); w = mutt_expand_aliases_r (w, expn); if (head) last->next = w; @@ -101,7 +101,7 @@ static address_t *mutt_expand_aliases_r (address_t * a, LIST ** expn) char namebuf[STRING]; mutt_gecos_name (namebuf, sizeof (namebuf), pw); - str_replace (&a->personal, namebuf); + m_strreplace (&a->personal, namebuf); } } }