X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fcompress.c;h=00064b76d0f38aa1a4ae19f1f8f377b4876639d4;hp=e89d438944d8fb7a8b13c633b9667f67eef7e7e1;hb=3242c00b2d3f7f1c1554bcebfb8a390fddea095f;hpb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91 diff --git a/lib-mx/compress.c b/lib-mx/compress.c index e89d438..00064b7 100644 --- a/lib-mx/compress.c +++ b/lib-mx/compress.c @@ -142,7 +142,7 @@ static const char *compresshook_format_str (char *dest, ssize_t destlen, unsigned long data, format_flag flags __attribute__ ((unused))) { - char tmp[SHORT_STRING]; + char tmp[STRING]; CONTEXT *ctx = (CONTEXT *) data; @@ -171,8 +171,8 @@ static char *get_compression_cmd (const char *cmd, const CONTEXT * ctx) { char expanded[_POSIX_PATH_MAX]; - mutt_FormatString (expanded, sizeof (expanded), cmd, - compresshook_format_str, (unsigned long) ctx, 0); + m_strformat(expanded, sizeof (expanded), cmd, compresshook_format_str, + (unsigned long)ctx, 0); return m_strdup(expanded); }