X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compress.c;h=c3ddf2dac0ab1afe13d96b5e879ce2032581bd50;hp=928a9198075ce93dd5eb3f34d900d77d2c5b344b;hb=643fc4917f9274e824fddb1488107279b28242d7;hpb=841934011451205d8295ac955486f06c317fdf15 diff --git a/compress.c b/compress.c index 928a919..c3ddf2d 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 (mutt_strlen (tmppath) + 1); + ctx->path = safe_malloc (safe_strlen (tmppath) + 1); strcpy (ctx->path, tmppath); }