X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=57e4de8e074d74077c0cef095130e62ae85ea285;hp=03dd11a70b7c78987c66f43675da63dbf5fb395f;hb=8682670f5c23aca480236b8456aa8192b154a3e0;hpb=4761fa78a6dfc9437caa6e6e0aac806e50e01c83 diff --git a/sendlib.c b/sendlib.c index 03dd11a..57e4de8 100644 --- a/sendlib.c +++ b/sendlib.c @@ -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);