X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=crypt-gpgme.c;fp=crypt-gpgme.c;h=42551562198b2776d3fb6b281fb480706055d556;hp=32efdb7763576a7d4ca9604bbcc6de7a874eca0a;hb=83532821ae9fab034d0d630b78330c9ea4ff4cf3;hpb=d0dc8fb657cff90709c15d4b106415b868857f6a diff --git a/crypt-gpgme.c b/crypt-gpgme.c index 32efdb7..4255156 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -3636,7 +3636,7 @@ static crypt_key_t *crypt_ask_for_key (char *tag, if (whatfor) { if (l) - str_replace (&l->dflt, resp); + m_strreplace(&l->dflt, resp); else { l = p_new(struct crypt_cache, 1); l->next = id_defaults; @@ -3854,7 +3854,7 @@ static int gpgme_send_menu (HEADER * msg, int *redraw, int is_smime) is_smime ? APPLICATION_SMIME : APPLICATION_PGP, NULL))) { snprintf (input_signas, sizeof (input_signas), "0x%s", crypt_keyid (p)); - str_replace (is_smime ? &SmimeDefaultKey : &PgpSignAs, + m_strreplace(is_smime ? &SmimeDefaultKey : &PgpSignAs, input_signas); crypt_free_key (&p);