openbsd-ports/mail/mutt/snapshot/patches/patch-mbox_c
lebel 65975c2510 initial import of mutt/snapshot 1.3.20i:
--
The Mutt Mail User Agent

This is a nifty e-mail client that includes excellent PGP hooks.
Other features include:

- color support
- message threading
- MIME support (including RFC2047 support for encoded headers)
- IMAP (also over SSL) and POP3 support
- support for multiple mailbox formats (mbox, MMDF, MH, maildir)
- highly customizable, including key bindings
- searches using regular expression
- Delivery Status Notification (DSN) support
- PGP/MIME (RFC2015)
- small and efficient

Flavors:
	slang	   - build using the S-Lang library for screen handling.
	imap	   - build with IMAP & SSL support.
	pop	   - build with POP3 support.
	compressed - build with compressed folder support 
		     (see: http://www.spinnaker.de/mutt/compressed/)
        mixmaster  - build with anonymous remailing support.

This is the development version of mutt.

WWW: http://www.mutt.org/
2001-08-20 19:51:53 +00:00

22 lines
872 B
Plaintext

$OpenBSD: patch-mbox_c,v 1.1.1.1 2001/08/20 19:51:53 lebel Exp $
--- mbox.c.orig Tue Jul 24 07:52:59 2001
+++ mbox.c Sun Aug 19 19:34:05 2001
@@ -284,7 +284,7 @@ int mbox_parse_mailbox (CONTEXT *ctx)
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);
@@ -790,7 +790,7 @@ int mbox_sync_mailbox (CONTEXT *ctx, int
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)
{