X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fcompress.c;h=37090fbba7515cd0da5463cdfa09e9f207940a82;hp=e89d438944d8fb7a8b13c633b9667f67eef7e7e1;hb=1eeaaac6bdcad962c41bf975a32078cc4a0e578c;hpb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91 diff --git a/lib-mx/compress.c b/lib-mx/compress.c index e89d438..37090fb 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,7 +171,7 @@ static char *get_compression_cmd (const char *cmd, const CONTEXT * ctx) { char expanded[_POSIX_PATH_MAX]; - mutt_FormatString (expanded, sizeof (expanded), cmd, + m_strformat (expanded, sizeof (expanded), cmd, compresshook_format_str, (unsigned long) ctx, 0); return m_strdup(expanded); }