X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mbox.c;h=7207ea73dd2ab399cf1d78b15ff9c007a98972aa;hp=46d729163da94c6cd26e3a7a1820d0ff1671a56b;hb=3c3c535e5ed1d651c6024b5acf670e217af473f7;hpb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c 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; }