Nico Golde:
[apps/madmutt.git] / compress.c
index 928a919..c3ddf2d 100644 (file)
 #include "mailbox.h"
 #include "mutt_curses.h"
 
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+
 #include <errno.h>
 #include <string.h>
 #include <unistd.h>
@@ -125,7 +129,7 @@ static void set_path (CONTEXT * ctx)
 
   /* Uncompress to /tmp */
   mutt_mktemp (tmppath);
-  ctx->path = safe_malloc (mutt_strlen (tmppath) + 1);
+  ctx->path = safe_malloc (safe_strlen (tmppath) + 1);
   strcpy (ctx->path, tmppath);
 }