X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=02d0ee06ec7617ee77bf0958600cebb9d23aaf82;hp=03dd11a70b7c78987c66f43675da63dbf5fb395f;hb=22601f25ede6703ba7cd06ee84eddd2045308570;hpb=fa4c2af84416f9b4663bb80d36faaba35db05524 diff --git a/sendlib.c b/sendlib.c index 03dd11a..02d0ee0 100644 --- a/sendlib.c +++ b/sendlib.c @@ -1231,7 +1231,7 @@ BODY *mutt_make_message_attach (CONTEXT * ctx, HEADER * hdr, int attach_msg) fflush (fp); rewind (fp); - body->hdr = mutt_new_header (); + body->hdr = header_new(); body->hdr->offset = 0; /* we don't need the user headers here */ body->hdr->env = mutt_read_rfc822_header (fp, body->hdr, 0, 0);