projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getaddrinfo shall exist on any modern platform madmutt will run on.
[apps/madmutt.git]
/
copy.c
diff --git
a/copy.c
b/copy.c
index
c3299f0
..
f865d8a
100644
(file)
--- a/
copy.c
+++ b/
copy.c
@@
-451,7
+451,7
@@
mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags,
}
if (flags & CH_UPDATE_LEN && (flags & CH_NOLEN) == 0) {
}
if (flags & CH_UPDATE_LEN && (flags & CH_NOLEN) == 0) {
- fprintf (out, "Content-Length: %
lld
\n", h->content->length);
+ fprintf (out, "Content-Length: %
zu
\n", h->content->length);
if (h->lines != 0 || h->content->length == 0)
fprintf (out, "Lines: %d\n", h->lines);
}
if (h->lines != 0 || h->content->length == 0)
fprintf (out, "Lines: %d\n", h->lines);
}
@@
-555,7
+555,7
@@
_mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body,
if (mutt_copy_header (fpin, hdr, fpout,
chflags | CH_NOLEN | CH_NONEWLINE, NULL))
return -1;
if (mutt_copy_header (fpin, hdr, fpout,
chflags | CH_NOLEN | CH_NONEWLINE, NULL))
return -1;
- fprintf (fpout, "Content-Length: %
lld
\n", new_length);
+ fprintf (fpout, "Content-Length: %
zu
\n", new_length);
if (new_lines <= 0)
new_lines = 0;
else
if (new_lines <= 0)
new_lines = 0;
else
@@
-768,7
+768,7
@@
static int copy_delete_attach (BODY * b, FILE * fpin, FILE * fpout,
if (part->deleted) {
fprintf (fpout,
"Content-Type: message/external-body; access-type=x-mutt-deleted;\n"
if (part->deleted) {
fprintf (fpout,
"Content-Type: message/external-body; access-type=x-mutt-deleted;\n"
- "\texpiration=%s; length=%
lld
\n"
+ "\texpiration=%s; length=%
zu
\n"
"\n", date + 5, part->length);
if (ferror (fpout))
return -1;
"\n", date + 5, part->length);
if (ferror (fpout))
return -1;