projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
compress.c
diff --git
a/compress.c
b/compress.c
index
e49fdcd
..
d7c2279
100644
(file)
--- a/
compress.c
+++ b/
compress.c
@@
-15,6
+15,10
@@
#include "mailbox.h"
#include "mutt_curses.h"
#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>
#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);
/* Uncompress to /tmp */
mutt_mktemp (tmppath);
- ctx->path = safe_malloc (strlen (tmppath) + 1);
+ ctx->path = safe_malloc (
mutt_
strlen (tmppath) + 1);
strcpy (ctx->path, tmppath);
}
strcpy (ctx->path, tmppath);
}