diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-05-15 07:23:49 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-05-15 07:23:49 +0000 |
commit | ffbbdd321813dea82ee2ac031d2aeb4b4ddd8a1a (patch) | |
tree | c21c9985e5373a8f93201b95b4edbd6c870b0a00 | |
parent | 19db6a4790c72037447eb0556ffa9b013d436301 (diff) |
Make tests on an attachment's file name possible. Patch from Bob
Bell <bobbell@zk3.dec.com>.
-rw-r--r-- | rfc1524.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ static int rfc1524_mailcap_parse (BODY *a, { len = mutt_strlen (test_command) + STRING; safe_realloc ((void **) &test_command, len); - rfc1524_expand_command (a, NULL, type, test_command, len); + rfc1524_expand_command (a, a->filename, type, test_command, len); if (mutt_system (test_command)) { /* a non-zero exit code means test failed */ |