#include "utils.h"
#include "mainwindow.h"
#include "proxy.h"
+#include "safe_fclose.h"
#include "ssl.h"
#include "ssl_certificate.h"
#include "socket.h"
goto fclose;
}
- r = fclose(f);
+ r = safe_fclose(f);
if (r == EOF) {
result->error = MAILIMAP_ERROR_FETCH;
goto unlink;