projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make address functions a lot better, and less error prone.
[apps/madmutt.git]
/
alias.c
diff --git
a/alias.c
b/alias.c
index
aec85d6
..
9be40dc
100644
(file)
--- a/
alias.c
+++ b/
alias.c
@@
-79,7
+79,7
@@
static address_t *mutt_expand_aliases_r (address_t * a, LIST ** expn)
u->data = m_strdup(a->mailbox);
u->next = *expn;
*expn = u;
u->data = m_strdup(a->mailbox);
u->next = *expn;
*expn = u;
- w =
rfc822_cpy_adr
(t);
+ w =
address_list_dup
(t);
w = mutt_expand_aliases_r (w, expn);
if (head)
last->next = w;
w = mutt_expand_aliases_r (w, expn);
if (head)
last->next = w;
@@
-91,7
+91,7
@@
static address_t *mutt_expand_aliases_r (address_t * a, LIST ** expn)
t = a;
a = a->next;
t->next = NULL;
t = a;
a = a->next;
t->next = NULL;
-
rfc822_free_address
(&t);
+
address_delete
(&t);
continue;
}
else {
continue;
}
else {