X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.c;h=0ee85c427381959e10432914b02ca91854a0074d;hp=fe4f24e6ccab615b300048d062bf0c48ab4984b7;hb=6ebff74ad242d4c56fb7762965b19cee14fd2daa;hpb=529d980f183269a45ba925b4f9ee688b01ad3b22 diff --git a/mutt_libesmtp.c b/mutt_libesmtp.c index fe4f24e..0ee85c4 100644 --- a/mutt_libesmtp.c +++ b/mutt_libesmtp.c @@ -10,16 +10,8 @@ * It's licensed under the GNU General Public License, * 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 @@ -30,8 +22,6 @@ #include #endif -#include - #include #include @@ -398,8 +388,7 @@ int mutt_libesmtp_invoke (address_t * from, /* the sender */ } Done: - if (fp != NULL) - fclose (fp); + m_fclose(&fp); if (hostportstr != NULL) p_delete(&hostportstr); if (session != NULL)