X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=headers.c;h=71bc4814bff1738f9d3442542e5be97d184a73dc;hp=ecb5756b7550576d0a457bc277a64c8d5563fdb7;hb=108f3c7ab59844591f7540347914ea57be5245e2;hpb=05a3bbbe420e4afc76e0eea24ce32f859405dc4a diff --git a/headers.c b/headers.c index ecb5756..71bc481 100644 --- a/headers.c +++ b/headers.c @@ -36,7 +36,7 @@ void mutt_edit_headers (const char *editor, ENVELOPE *n; time_t mtime; struct stat st; - LIST *cur, **last = NULL, *tmp; + string_list_t *cur, **last = NULL, *tmp; mutt_mktemp (path); if ((ofp = safe_fopen (path, "w")) == NULL) { @@ -76,7 +76,7 @@ void mutt_edit_headers (const char *editor, } mutt_unlink (body); - mutt_free_list (&msg->env->userhdrs); + string_list_wipe(&msg->env->userhdrs); /* Read the temp file back in */ if ((ifp = fopen (path, "r")) == NULL) { @@ -110,7 +110,7 @@ void mutt_edit_headers (const char *editor, #ifdef USE_NNTP if (!option (OPTNEWSSEND)) #endif - mutt_free_list (&msg->env->references); + string_list_wipe(&msg->env->references); mutt_expand_aliases_env (msg->env); @@ -179,7 +179,7 @@ void mutt_edit_headers (const char *editor, *last = cur->next; cur = cur->next; tmp->next = NULL; - mutt_free_list (&tmp); + string_list_wipe(&tmp); } } }