]> granicus.if.org Git - mutt/commitdiff
Change snprintf to mutt_expand_fmt when expanding the
authorThomas Roessler <roessler@does-not-exist.org>
Sun, 6 Sep 1998 11:33:07 +0000 (11:33 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sun, 6 Sep 1998 11:33:07 +0000 (11:33 +0000)
query command.

query.c

diff --git a/query.c b/query.c
index d8ae80ae782208f6dee973f99e362b06e5b7e216..0e90b66b099dc1b5e1ae6b542e79a048bbd5bd30 100644 (file)
--- 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)
   {