X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=alias.c;h=70b33311ae6840902d78abe938030749ccdabb7d;hp=460217626c7a48702749b56c6554baf237e7e06f;hb=8476307969a605bea67f6b702b0c1e7a52038bed;hpb=a742b680bdba8cb47d2b81ab3397cdbec7ed5b69 diff --git a/alias.c b/alias.c index 4602176..70b3331 100644 --- a/alias.c +++ b/alias.c @@ -25,20 +25,7 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - -#include -#include -#include -#include -#include -#include -#include +#include #include @@ -381,7 +368,8 @@ address_t *mutt_expand_aliases(address_t *a) t = mutt_expand_aliases_r(a, &expn); string_list_wipe(&expn); - return mutt_remove_duplicates(t); + address_list_uniq(t); + return t; } void mutt_expand_aliases_env(ENVELOPE *env)