exit strfcpy, only use m_strcpy.
[apps/madmutt.git] / pgpkey.c
index 2411ee9..a4689ab 100644 (file)
--- a/pgpkey.c
+++ b/pgpkey.c
@@ -648,7 +648,7 @@ pgp_key_t pgp_ask_for_key (char *tag, char *whatfor,
 
     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;
       }
   }