projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
sendlib.c
diff --git
a/sendlib.c
b/sendlib.c
index
314c4a2
..
ca3e390
100644
(file)
--- 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);
mutt_copy_hdr (fpin, fpout, a->offset, a->offset + a->length,
CH_MIME | CH_NONEWLINE | CH_XMIT, NULL);
- fputs ("M
ime
-Version: 1.0\n", fpout);
+ fputs ("M
IME
-Version: 1.0\n", fpout);
mutt_write_mime_header (a->parts, fpout);
fputc ('\n', fpout);
mutt_write_mime_body (a->parts, 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 */
}
/* Add the MIME headers */
- fputs ("M
ime
-Version: 1.0\n", fp);
+ fputs ("M
IME
-Version: 1.0\n", fp);
mutt_write_mime_header (attach, 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++;
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", (off_t
) ftell (tempfp));
fprintf (msg->fp, "Lines: %d\n\n", lines);
/* copy the body and clean up */
fprintf (msg->fp, "Lines: %d\n\n", lines);
/* copy the body and clean up */