X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;h=851db2def84e573f604cc99cbdd8333244b51da2;hp=9f741ed3cabd9c4b6e53773e0c5058f5b46eabd7;hb=b1f82c20e0e18fd6f87c677b2dd091350935f883;hpb=841a368ddea400022328f35dd8c7a3eb6f543892 diff --git a/send.c b/send.c index 9f741ed..851db2d 100644 --- a/send.c +++ b/send.c @@ -12,6 +12,8 @@ #endif #include "mutt.h" +#include "enter.h" +#include "ascii.h" #include "mutt_curses.h" #include "rfc2047.h" #include "keymap.h" @@ -369,24 +371,6 @@ static void process_user_header (ENVELOPE * env) } } -LIST *mutt_copy_list (LIST * p) -{ - LIST *t, *r = NULL, *l = NULL; - - for (; p; p = p->next) { - t = (LIST *) mem_malloc (sizeof (LIST)); - t->data = str_dup (p->data); - t->next = NULL; - if (l) { - r->next = t; - r = r->next; - } - else - l = r = t; - } - return (l); -} - void mutt_forward_intro (FILE * fp, HEADER * cur) { char buffer[STRING];