projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
begin to work on alias.[hc]
[apps/madmutt.git]
/
muttlib.c
diff --git
a/muttlib.c
b/muttlib.c
index
28f6af3
..
27cbdbd
100644
(file)
--- a/
muttlib.c
+++ b/
muttlib.c
@@
-322,7
+322,7
@@
char *_mutt_expand_path (char *s, size_t slen, int rx)
HEADER *h;
address_t *alias;
HEADER *h;
address_t *alias;
- if ((alias =
mutt_lookup_alias (
s + 1))) {
+ if ((alias =
alias_lookup(Aliases,
s + 1))) {
h = header_new();
h->env = envelope_new();
h->env->from = h->env->to = alias;
h = header_new();
h->env = envelope_new();
h->env->from = h->env->to = alias;
@@
-552,19
+552,6
@@
void _mutt_mktemp (char *s, const char *src, int line)
unlink (s);
}
unlink (s);
}
-void mutt_free_alias (ALIAS ** p)
-{
- ALIAS *t;
-
- while (*p) {
- t = *p;
- *p = (*p)->next;
- p_delete(&t->name);
- address_delete (&t->addr);
- p_delete(&t);
- }
-}
-
/* collapse the pathname using ~ or = when possible */
void mutt_pretty_mailbox (char *s)
{
/* collapse the pathname using ~ or = when possible */
void mutt_pretty_mailbox (char *s)
{