exit strfcpy, only use m_strcpy.
[apps/madmutt.git] / postpone.c
index 8d020d2..d37f043 100644 (file)
@@ -320,7 +320,7 @@ int mutt_get_postponed (CONTEXT * ctx, HEADER * hdr, HEADER ** cur, char *fcc,
     else if (ascii_strncasecmp ("X-Mutt-Fcc:", tmp->data, 11) == 0) {
       p = tmp->data + 11;
       SKIPWS (p);
-      strfcpy (fcc, p, fcclen);
+      m_strcpy(fcc, fcclen, p);
       mutt_pretty_mailbox (fcc);
 
       /* remove the X-Mutt-Fcc: header field */
@@ -611,7 +611,7 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr,
 
     file[0] = '\0';
     if (b->filename) {
-      strfcpy (file, b->filename, sizeof (file));
+      m_strcpy(file, sizeof(file), b->filename);
       b->d_filename = m_strdup(b->filename);
     }
     else {