X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-crypt%2Fgnupgparse.c;h=a2d854917ba30bbda575215f244d6366b3fe3636;hp=3db2f90f1ed53926553f4a09ed01299c697b948f;hb=a6f91e78d27906d413c9e53dc2ece06778e80412;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/lib-crypt/gnupgparse.c b/lib-crypt/gnupgparse.c index 3db2f90..a2d8549 100644 --- a/lib-crypt/gnupgparse.c +++ b/lib-crypt/gnupgparse.c @@ -18,31 +18,15 @@ * */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include -#include -#include -#include -#include -#include - #include + #include #include #include -#include "mutt.h" #include "pgp.h" #include "charset.h" - /**************** * Read the GNUPG keys. For now we read the complete keyring by * calling gnupg in a special mode. @@ -326,7 +310,7 @@ pgp_key_t pgp_get_candidates (pgp_ring_t keyring, string_list_t * hints) if (ferror (fp)) mutt_perror ("fgets"); - fclose (fp); + m_fclose(&fp); mutt_wait_filter (thepid); close (devnull);