many simplifications, cosmetics.
[apps/madmutt.git] / headers.c
index bd4f77e..65c3708 100644 (file)
--- a/headers.c
+++ b/headers.c
@@ -12,7 +12,7 @@
 
 #include "mutt.h"
 #include "alias.h"
-#include <lib-crypt/crypt.h>
+#include "crypt.h"
 #include "mutt_idna.h"
 
 void mutt_edit_headers(const char *body,
@@ -28,7 +28,7 @@ void mutt_edit_headers(const char *body,
   struct stat st;
   string_list_t *cur, **last = NULL, *tmp;
 
-  ofp = m_tempfile(path, sizeof(path), NONULL(Tempdir), NULL);
+  ofp = m_tempfile(path, sizeof(path), NONULL(mod_core.tmpdir), NULL);
   if (!ofp) {
     mutt_perror (path);
     return;