#include <lib-sys/mutt_signal.h>
#include <lib-sys/unix.h>
-#include <lib-ui/curses.h>
+#include <lib-ui/lib-ui.h>
#include "mutt.h"
ctx->realpath = ctx->path;
/* Uncompress to /tmp */
- tmpfd = m_tempfd(tmppath, sizeof(tmppath), NONULL(MCore.tmpdir), NULL);
+ tmpfd = m_tempfd(tmppath, sizeof(tmppath), NONULL(mod_core.tmpdir), NULL);
/* If we cannot open tempfile, that means the file already exists (!?)
* or we are following a symlink, which is bad and insecure.
*/
ctx->realpath = ctx->path;
/* Uncompress to /tmp */
- fh = m_tempfile(tmppath, sizeof(tmppath), NONULL(MCore.tmpdir), NULL);
+ fh = m_tempfile(tmppath, sizeof(tmppath), NONULL(mod_core.tmpdir), NULL);
m_fclose(&fh);
ctx->path = p_dupstr(tmppath, m_strlen(tmppath));