diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-06-08 09:28:16 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-06-08 09:28:16 +0000 |
commit | c53abe40f5e1efc4272262a9ee5689577897d045 (patch) | |
tree | ff03b496efa54cdabf53663e655aff5fd27e40db /pgpinvoke.c | |
parent | c9b1eb66b8f4263b780f0e60f04e7cacaee1914b (diff) |
- Add a $weed option.
- Add out-of-band reporting of signature status.
Diffstat (limited to 'pgpinvoke.c')
-rw-r--r-- | pgpinvoke.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pgpinvoke.c b/pgpinvoke.c index 4af8b933..4728a7ec 100644 --- a/pgpinvoke.c +++ b/pgpinvoke.c @@ -121,13 +121,18 @@ const char *_mutt_fmt_pgp_command (char *dest, optional = 0; break; } + default: + { + *dest = '\0'; + break; + } } - + if (optional) - mutt_FormatString (dest, destlen, ifstring, mutt_attach_fmt, data, 0); + mutt_FormatString (dest, destlen, ifstring, _mutt_fmt_pgp_command, data, 0); else if (flags & M_FORMAT_OPTIONAL) - mutt_FormatString (dest, destlen, elsestring, mutt_attach_fmt, data, 0); - + mutt_FormatString (dest, destlen, elsestring, _mutt_fmt_pgp_command, data, 0); + return (src); } |