X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fpgpinvoke.c;h=a8f0bb8d4b5b3a00c2a6694665961c380177c716;hb=27c3007f2cfb52db5a357eaa2a8313a5ab03c93d;hp=10878d30a0558581dfa15572ccb25a9191300d80;hpb=688ac22f746f785c27ac99ac86aa85a3035a3638;p=apps%2Fmadmutt.git diff --git a/lib-crypt/pgpinvoke.c b/lib-crypt/pgpinvoke.c index 10878d3..a8f0bb8 100644 --- a/lib-crypt/pgpinvoke.c +++ b/lib-crypt/pgpinvoke.c @@ -108,11 +108,9 @@ _mutt_fmt_pgp_command(char *dest, ssize_t destlen, } if (optional) - mutt_FormatString (dest, destlen, ifstring, _mutt_fmt_pgp_command, data, - 0); + m_strformat(dest, destlen, ifstring, _mutt_fmt_pgp_command, data, 0); else if (flags & M_FORMAT_OPTIONAL) - mutt_FormatString (dest, destlen, elsestring, _mutt_fmt_pgp_command, data, - 0); + m_strformat(dest, destlen, elsestring, _mutt_fmt_pgp_command, data, 0); return (src); } @@ -121,7 +119,7 @@ static void mutt_pgp_command(char *d, ssize_t dlen, struct pgp_command_context *cctx, const char *fmt) { - mutt_FormatString (d, dlen, NONULL (fmt), _mutt_fmt_pgp_command, + m_strformat (d, dlen, NONULL (fmt), _mutt_fmt_pgp_command, (unsigned long) cctx, 0); }