From: Thomas Roessler Date: Sun, 6 Sep 1998 11:33:07 +0000 (+0000) Subject: Change snprintf to mutt_expand_fmt when expanding the X-Git-Tag: mutt-0-94-6i-rel~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92ecaea41a6ce1ea73d433cb083ec709709de628;p=mutt Change snprintf to mutt_expand_fmt when expanding the query command. --- diff --git a/query.c b/query.c index d8ae80ae..0e90b66b 100644 --- a/query.c +++ b/query.c @@ -80,7 +80,7 @@ static QUERY *run_query (char *s, int quiet) int l; - snprintf (cmd, sizeof (cmd), QueryCmd, s); + mutt_expand_fmt (cmd, sizeof(cmd), QueryCmd, s); if ((thepid = mutt_create_filter (cmd, NULL, &fp, NULL)) < 0) {