int ignore = 0;
char buf[STRING]; /* should be long enough to get most fields in one pass */
char *nl;
- LIST *t;
+ string_list_t *t;
char **headers;
int hdr_count;
int x;
if (flags & CH_UPDATE) {
if ((flags & CH_NOSTATUS) == 0) {
if (h->env->irt_changed && h->env->in_reply_to) {
- LIST *listp = h->env->in_reply_to;
+ string_list_t *listp = h->env->in_reply_to;
if (fputs ("In-Reply-To: ", out) == EOF)
return (-1);
}
if (h->env->refs_changed && h->env->references) {
- LIST *listp = h->env->references, *refs = NULL, *t;
+ string_list_t *listp = h->env->references, *refs = NULL, *t;
if (fputs ("References: ", out) == EOF)
return (-1);
/* Mutt stores references in reverse order, thus we create
* a reordered refs list that we can put in the headers */
for (; listp; listp = listp->next, refs = t) {
- t = p_new(LIST, 1);
+ t = p_new(string_list_t, 1);
t->data = listp->data;
t->next = refs;
}
format_address_header (h, a);
- address_delete (&a);
+ address_list_wipe(&a);
p_delete(&s);
return 1;