X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=crypt-gpgme.c;h=dfd26458a0cc7b6a0b7c0521c7fa089c5b436127;hp=c8cfd1948f20c6c27ea1ea0fe76cca10f4cd146c;hb=ab12fea9d01b3b9bc53081ae4ccc046243f1cb9f;hpb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c diff --git a/crypt-gpgme.c b/crypt-gpgme.c index c8cfd19..dfd2645 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -24,13 +24,14 @@ #include #include +#include + #include "mutt.h" #include "mutt_crypt.h" #include "mutt_menu.h" #include "mutt_curses.h" #include "handler.h" #include "enter.h" -#include "mime.h" #include "copy.h" #include "pager.h" #include "recvattach.h" @@ -1789,7 +1790,7 @@ int pgp_gpgme_application_handler (BODY * m, STATE * s) but we know that this may only be text thus we assume Latin-1 here. */ if (!mutt_get_body_charset (body_charset, sizeof (body_charset), m)) - strfcpy (body_charset, "iso-8859-1", sizeof body_charset); + m_strcpy(body_charset, sizeof(body_charset), "iso-8859-1"); fseeko (s->fpin, m->offset, 0); last_pos = m->offset; @@ -3622,7 +3623,7 @@ static crypt_key_t *crypt_ask_for_key (char *tag, for (l = id_defaults; l; l = l->next) if (!m_strcasecmp(whatfor, l->what)) { - strfcpy (resp, NONULL (l->dflt), sizeof (resp)); + m_strcpy(resp, sizeof(resp), NONULL(l->dflt)); break; } }