begin to move rfc2047 into lib-mime.
[apps/madmutt.git] / copy.c
diff --git a/copy.c b/copy.c
index 66d30b8..399a65b 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -23,7 +23,6 @@
 #include "handler.h"
 #include "mx.h"
 #include "copy.h"
-#include "rfc2047.h"
 #include "mutt_crypt.h"
 #include "mutt_idna.h"
 
@@ -356,7 +355,7 @@ mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags,
     fputs ("Content-Type: text/plain; charset=", out);
     mutt_canonical_charset (chsbuf, sizeof (chsbuf),
                             Charset ? Charset : "us-ascii");
-    rfc822_cat (buffer, sizeof (buffer), chsbuf, MimeSpecials);
+    rfc822_strcpy(buffer, sizeof(buffer), chsbuf, MimeSpecials);
     fputs (buffer, out);
     fputc ('\n', out);