X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=57e4de8e074d74077c0cef095130e62ae85ea285;hp=fc8462dda8ca6525f4a7416f401fbd475c0d483c;hb=8682670f5c23aca480236b8456aa8192b154a3e0;hpb=10b7d54ecaa5c54622bf1239b57fa2e3359db0e1 diff --git a/sendlib.c b/sendlib.c index fc8462d..57e4de8 100644 --- a/sendlib.c +++ b/sendlib.c @@ -29,7 +29,7 @@ #include "copy.h" #include "pager.h" #include "charset.h" -#include "mutt_crypt.h" +#include #include "mutt_idna.h" #include "lib/debug.h" @@ -887,7 +887,7 @@ int mutt_lookup_mime_type (BODY * att, const char *path) snprintf (buf, sizeof (buf), "%s/.mime.types", NONULL (Homedir)); break; case 1: - m_strcpy(buf, sizeof(buf), SYSCONFDIR "/muttng-mime.types"); + m_strcpy(buf, sizeof(buf), SYSCONFDIR "/madmutt-mime.types"); break; case 2: m_strcpy(buf, sizeof(buf), PKGDATADIR "/mime.types"); @@ -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);