diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-08-19 13:09:27 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-08-19 13:09:27 +0000 |
commit | 73481d885afddff6c712172cdec3e789c147e324 (patch) | |
tree | 1449ecd53a6df099c64ce59ae45cae14e6f2f7a8 /mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c | |
parent | - Unbreak on RELENG_5/6 (diff) |
- Unbreak on 5.X and newer, fix fetch
- Take maintainership
PR: ports/85119
Submitted by: Matthew Luckie <mjl@luckie.org.nz>
Approved by: portmgr (marcus)
Notes
Notes:
svn path=/head/; revision=140930
Diffstat (limited to 'mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c')
-rw-r--r-- | mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c b/mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c new file mode 100644 index 000000000000..81a7a6ac7b47 --- /dev/null +++ b/mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c @@ -0,0 +1,20 @@ +--- ../imap-4/src/osdep/unix/mmdf.c.orig Tue Mar 31 13:07:25 1998 ++++ ../imap-4/src/osdep/unix/mmdf.c Sat Aug 20 00:17:25 2005 +@@ -869,7 +869,7 @@ + /* length of internal + message headers */ + iov[j].iov_len = (m->header + m->headersize) - m->internal; + /* suppress extra newline if present */ +- if ((iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--; ++ if (((char *)iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--; + else j++; /* unlikely but... */ + /* status */ + iov[j].iov_base = status; +@@ -1727,7 +1727,7 @@ + /* length of internal + message headers */ + iov[j].iov_len = (m->header + m->headersize) - m->internal; + /* suppress extra newline if present */ +- if ((iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--; ++ if (((char *)iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--; + else j++; /* unlikely but... */ + /* status */ + iov[j].iov_base = LOCAL->buf; |