X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=mbox.c;h=7207ea73dd2ab399cf1d78b15ff9c007a98972aa;hb=6c7e9f1a1008e4fedb1e0ae1e4ad7af17c8239df;hp=46d729163da94c6cd26e3a7a1820d0ff1671a56b;hpb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c;p=apps%2Fmadmutt.git diff --git a/mbox.c b/mbox.c index 46d7291..7207ea7 100644 --- a/mbox.c +++ b/mbox.c @@ -203,7 +203,7 @@ static int mmdf_parse_mailbox (CONTEXT * ctx) rfc822_parse_adrlist (hdr->env->return_path, return_path); if (!hdr->env->from) - hdr->env->from = rfc822_cpy_adr (hdr->env->return_path); + hdr->env->from = address_list_dup (hdr->env->return_path); ctx->msgcount++; } @@ -359,7 +359,7 @@ static int mbox_parse_mailbox (CONTEXT * ctx) rfc822_parse_adrlist (curhdr->env->return_path, return_path); if (!curhdr->env->from) - curhdr->env->from = rfc822_cpy_adr (curhdr->env->return_path); + curhdr->env->from = address_list_dup (curhdr->env->return_path); lines = 0; }