X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.c;h=0ee85c427381959e10432914b02ca91854a0074d;hp=fe256f607a3ef14c621e0ab6ce0c736b2b3bb6fa;hb=3fb238bec424fbc43ebe3a50eca3c84ea7bedf6a;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/mutt_libesmtp.c b/mutt_libesmtp.c index fe256f6..0ee85c4 100644 --- a/mutt_libesmtp.c +++ b/mutt_libesmtp.c @@ -10,11 +10,6 @@ * 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 @@ -27,8 +22,6 @@ #include #endif -#include - #include #include @@ -395,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)