1
0
forked from pool/mutt
mutt/bug-676388-largefile.patch

32 lines
1.1 KiB
Diff

---
mh.c | 6 +++---
mutt.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
--- mh.c
+++ mh.c 2020-01-14 13:31:51.368358811 +0000
@@ -1814,9 +1814,9 @@ static int mh_rewrite_message (CONTEXT *
BUFFER *newpath = NULL;
BUFFER *partpath = NULL;
- long old_body_offset = h->content->offset;
- long old_body_length = h->content->length;
- long old_hdr_lines = h->lines;
+ LOFF_T old_body_offset = h->content->offset;
+ LOFF_T old_body_length = h->content->length;
+ LOFF_T old_hdr_lines = h->lines;
if ((dest = mx_open_new_message (ctx, h, 0)) == NULL)
return -1;
--- mutt.h
+++ mutt.h 2020-01-14 13:31:51.368358811 +0000
@@ -759,7 +759,7 @@ typedef struct body
PARAMETER *parameter; /* parameters of the content-type */
char *description; /* content-description */
char *form_name; /* Content-Disposition form-data name param */
- long hdr_offset; /* offset in stream where the headers begin.
+ LOFF_T hdr_offset; /* offset in stream where the headers begin.
* this info is used when invoking metamail,
* where we need to send the headers of the
* attachment