openbsd-ports/mail/mutt/patches/patch-mbox_c
brad 25fdf11cc2 - add optional SSL transport layer encryption for IMAP
- switch mailbox locking to flock()
- add RCS id to patch-configure
- fix offsets in patch_mbox_c
- mention IMAP support in DESCR
--
from naddy@
2000-07-27 22:27:59 +00:00

21 lines
728 B
Plaintext

--- mbox.c.orig Wed Jun 21 07:52:20 2000
+++ mbox.c Thu Jul 27 15:24:33 2000
@@ -285,7 +285,7 @@
if (!ctx->quiet && ReadInc && ((count % ReadInc == 0) || count == 1))
mutt_message (_("Reading %s... %d (%d%%)"), ctx->path, count,
- ftell (ctx->fp) / (ctx->size / 100 + 1));
+ (int)(ftell (ctx->fp) / (ctx->size / 100 + 1)));
if (ctx->msgcount == ctx->hdrmax)
mx_alloc_memory (ctx);
@@ -791,7 +791,7 @@
j++;
if (!ctx->quiet && WriteInc && ((i % WriteInc) == 0 || j == 1))
mutt_message (_("Writing messages... %d (%d%%)"), i,
- ftell (ctx->fp) / (ctx->size / 100 + 1));
+ (int)(ftell (ctx->fp) / (ctx->size / 100 + 1)));
if (ctx->magic == M_MMDF)
{