X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compress.c;h=d7c2279f46f99914442c3bf5e949aa8c03382477;hp=e49fdcddad57a165fb0ed2e4b85e7c81ca205f8b;hb=1106413431b72d14d6f1208d611c489931ea4499;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/compress.c b/compress.c index e49fdcd..d7c2279 100644 --- a/compress.c +++ b/compress.c @@ -15,6 +15,10 @@ #include "mailbox.h" #include "mutt_curses.h" +#include "lib/mem.h" +#include "lib/intl.h" +#include "lib/str.h" + #include #include #include @@ -125,7 +129,7 @@ static void set_path (CONTEXT * ctx) /* 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); }