X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compress.c;h=c3ddf2dac0ab1afe13d96b5e879ce2032581bd50;hp=d7c2279f46f99914442c3bf5e949aa8c03382477;hb=0f44dc85fc1280372ffab911d701e703d803fb4b;hpb=1106413431b72d14d6f1208d611c489931ea4499 diff --git a/compress.c b/compress.c index d7c2279..c3ddf2d 100644 --- a/compress.c +++ b/compress.c @@ -129,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); }