more cosmetics.
[apps/madmutt.git] / copy.c
diff --git a/copy.c b/copy.c
index 0c5f8b4..3a8cdfb 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -794,7 +794,7 @@ static void format_address_header (char **h, address_t * a)
 
     a->next = NULL;
     *buf = *cbuf = *c2buf = '\0';
-    rfc822_write_address (buf, sizeof (buf), a, 0);
+    rfc822_addrcat(buf, sizeof (buf), a, 0);
     a->next = tmp;
 
     l = m_strlen(buf);