X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgp.c;h=a17b481d1c55ae8029f25c8e4ce1afadcb2016de;hp=08480773d1e1ea3e0175d6f8cd1cb0dd540d6058;hb=a8aba140a61d5b86093cea46afcb613092d4978d;hpb=cfc49a0d8c3ac2c0bd4b217026d0740c55f2e5db diff --git a/pgp.c b/pgp.c index 0848077..a17b481 100644 --- a/pgp.c +++ b/pgp.c @@ -1106,7 +1106,7 @@ char *pgp_findKeys (address_t * to, address_t * cc, address_t * bcc) abort (); } - *last = rfc822_cpy_adr (p); + *last = address_list_dup (p); while (*last) last = &((*last)->next); } @@ -1521,7 +1521,7 @@ int pgp_send_menu (HEADER * msg, int *redraw) pgp_ask_for_key (_("Sign as: "), NULL, KEYFLAG_CANSIGN, PGP_PUBRING))) { snprintf (input_signas, sizeof (input_signas), "0x%s", pgp_keyid (p)); - str_replace (&PgpSignAs, input_signas); + m_strreplace(&PgpSignAs, input_signas); pgp_free_key (&p); msg->security |= SIGN;