X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.c;h=0ee85c427381959e10432914b02ca91854a0074d;hp=d9124771ea4c0ecca4e462cf07572b5502881a5d;hb=3fb238bec424fbc43ebe3a50eca3c84ea7bedf6a;hpb=ecfcc6df70230ba136c2fb3843700ecb749c41b7 diff --git a/mutt_libesmtp.c b/mutt_libesmtp.c index d912477..0ee85c4 100644 --- a/mutt_libesmtp.c +++ b/mutt_libesmtp.c @@ -10,14 +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 @@ -28,8 +22,6 @@ #include #endif -#include - #include #include @@ -396,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)