From: Zero King Date: Wed, 24 Jul 2019 16:51:12 +0000 (+0000) Subject: Fix struct Buffer used as %s X-Git-Tag: 2019-10-25~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fpull%2F1787%2Fhead;p=neomutt Fix struct Buffer used as %s cmd is a Buffer struct, it does not correspond to %s in the format string. --- diff --git a/init.c b/init.c index ff060e5f1..9f3cf162b 100644 --- a/init.c +++ b/init.c @@ -2743,7 +2743,7 @@ int mutt_extract_token(struct Buffer *dest, struct Buffer *tok, TokenFlags flags pid = mutt_create_filter(cmd.data, NULL, &fp, NULL); if (pid < 0) { - mutt_debug(LL_DEBUG1, "unable to fork command: %s\n", cmd); + mutt_debug(LL_DEBUG1, "unable to fork command: %s\n", cmd.data); FREE(&cmd.data); return -1; }