X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgp.c;h=8875ed998cae8ee5f9b9656792dbb7784bf46ebc;hb=d8aeb41018aaf2f85fbd937278ffdd94164e236e;hp=408bf3393bb6757eacca4f91cbbb429131d3cd46;hpb=0dbe922d4298aed78dcba64b7c770f315a64505e;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgp.c b/lib-crypt/pgp.c index 408bf33..8875ed9 100644 --- a/lib-crypt/pgp.c +++ b/lib-crypt/pgp.c @@ -17,15 +17,11 @@ * a message. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif +#include -#include -#include -#include -#include -#include +#ifdef HAVE_SYS_RESOURCE_H +# include +#endif #include @@ -39,27 +35,6 @@ #include "copy.h" #include "attach.h" - -#include -#include -#include -#include -#include -#include -#include - -#ifdef HAVE_LOCALE_H -#include -#endif - -#ifdef HAVE_SYS_TIME_H -# include -#endif - -#ifdef HAVE_SYS_RESOURCE_H -# include -#endif - #include "crypt.h" @@ -1103,7 +1078,7 @@ char *pgp_findKeys (address_t * to, address_t * cc, address_t * bcc) if (fqdn) rfc822_qualify (tmp, fqdn); - tmp = mutt_remove_duplicates (tmp); + address_list_uniq(&tmp); for (p = tmp; p; p = p->next) { char buf[LONG_STRING];