X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=attach.c;h=e352c4a0ec50e963c8dafc24306046e3e380a9d5;hp=a36fdf4abadb76af7a5573a9a2cb03bfbddeb29e;hb=d4321859bb9ce5b43fbd8303394cf98ae7720a38;hpb=97677c08933e16e25ecb3c12473ef1efdab7962b diff --git a/attach.c b/attach.c index a36fdf4..e352c4a 100644 --- a/attach.c +++ b/attach.c @@ -144,7 +144,7 @@ int mutt_compose_attachment (BODY * a) b = mutt_read_mime_header (fp, 0); if (b) { if (b->parameter) { - parameter_delete(&a->parameter); + parameter_list_wipe(&a->parameter); a->parameter = b->parameter; b->parameter = NULL; } @@ -315,7 +315,7 @@ static int is_mmnoask (const char *buf) void mutt_check_lookup_list (BODY * b, char *type, int len) { - LIST *t = MimeLookupList; + string_list_t *t = MimeLookupList; int i; for (; t; t = t->next) { @@ -351,7 +351,7 @@ void mutt_check_lookup_list (BODY * b, char *type, int len) int mutt_is_autoview (BODY * b, const char *type) { - LIST *t = AutoViewList; + string_list_t *t = AutoViewList; char _type[SHORT_STRING]; int i;