X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=1f5b5b52524f5ba13d9effadf97ed164570c3b7e;hp=314c4a2f22e925d6e22a3a95215e3467ed27f7e8;hb=b17296ba049d71986028ac83f0b415a021d0691c;hpb=4711a1a970ba7dda6eaf71f16fdfd74f90d02bb8 diff --git a/sendlib.c b/sendlib.c index 314c4a2..1f5b5b5 100644 --- a/sendlib.c +++ b/sendlib.c @@ -1012,7 +1012,7 @@ void mutt_message_to_7bit (BODY * a, FILE * fp) mutt_copy_hdr (fpin, fpout, a->offset, a->offset + a->length, CH_MIME | CH_NONEWLINE | CH_XMIT, NULL); - fputs ("Mime-Version: 1.0\n", fpout); + fputs ("MIME-Version: 1.0\n", fpout); mutt_write_mime_header (a->parts, fpout); fputc ('\n', fpout); mutt_write_mime_body (a->parts, fpout); @@ -1576,7 +1576,7 @@ int mutt_write_rfc822_header (FILE * fp, ENVELOPE * env, BODY * attach, } /* Add the MIME headers */ - fputs ("Mime-Version: 1.0\n", fp); + fputs ("MIME-Version: 1.0\n", fp); mutt_write_mime_header (attach, fp); } @@ -2500,7 +2500,7 @@ int mutt_write_fcc (const char *path, HEADER * hdr, const char *msgid, rewind (tempfp); while (fgets (sasha, sizeof (sasha), tempfp) != NULL) lines++; - fprintf (msg->fp, "Content-Length: %ld\n", (long) ftell (tempfp)); + fprintf (msg->fp, "Content-Length: " OFF_T_FMT "\n", (long) ftell (tempfp)); fprintf (msg->fp, "Lines: %d\n\n", lines); /* copy the body and clean up */