#include <sasl/saslutil.h>
#include <lib-sys/mutt_socket.h>
-#include <lib-ui/curses.h>
+#include <lib-ui/lib-ui.h>
#include "crypt.h"
#include "mutt.h"
attempts++;
break;
}
+ mutt_socket_close(pop_data->conn);
}
}
} else {
attempts++;
break;
}
+ mutt_socket_close(pop_data->conn);
}
}
bar.msg = _("Fetching message...");
mutt_progress_bar (&bar, 0);
- msg->fp = m_tempfile(path, sizeof(path), NONULL(MCore.tmpdir), NULL);
+ msg->fp = m_tempfile(path, sizeof(path), NONULL(mod_core.tmpdir), NULL);
if (!msg->fp) {
mutt_error(_("Could not create temporary file"));
mutt_sleep(2);