summaryrefslogtreecommitdiffstats
path: root/query.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-06 11:33:07 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-06 11:33:07 +0000
commit92ecaea41a6ce1ea73d433cb083ec709709de628 (patch)
tree47c3313b62b04463baf059a5fb81d098e9892eeb /query.c
parent90b1730bf76a468f9a9ad10078650bb01c63d9cd (diff)
Change snprintf to mutt_expand_fmt when expanding the
query command.
Diffstat (limited to 'query.c')
-rw-r--r--query.c2
1 files changed, 1 insertions, 1 deletions
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)
{