X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvcmd.c;h=b4030441ae2902854eafe618adf6454154eb6ab5;hp=f504547359cf555cd77775d3ed8ed632fd0c4890;hb=108f3c7ab59844591f7540347914ea57be5245e2;hpb=0f6739c5be4203bec0fa32962e6ab13349da703b diff --git a/recvcmd.c b/recvcmd.c index f504547..b403044 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -158,7 +158,7 @@ void mutt_attach_bounce (FILE * fp, HEADER * hdr __attribute__ ((unused)), if (mutt_addrlist_to_idna (adr, &err) < 0) { mutt_error (_("Bad IDN: '%s'"), err); p_delete(&err); - address_delete (&adr); + address_list_wipe(&adr); return; } @@ -183,7 +183,7 @@ void mutt_attach_bounce (FILE * fp, HEADER * hdr __attribute__ ((unused)), } if (query_quadoption (OPT_BOUNCE, prompt) != M_YES) { - address_delete (&adr); + address_list_wipe(&adr); CLEARLINE (LINES - 1); mutt_message (p ? _("Message not bounced.") : _("Messages not bounced.")); return; @@ -723,7 +723,7 @@ attach_reply_envelope_defaults (ENVELOPE * env, ATTACHPTR ** idx, if (parent) mutt_add_to_reference_headers (env, curenv, NULL, NULL); else { - LIST **p = NULL, **q = NULL; + string_list_t **p = NULL, **q = NULL; for (i = 0; i < idxlen; i++) { if (idx[i]->content->tagged)