Mercurial > dovecot > core-2.2
diff src/lib-storage/index/mbox/mbox-save.c @ 3863:55df57c028d4 HEAD
Added "bool" type and changed all ints that were used as booleans to bool.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 13 Jan 2006 22:25:57 +0200 |
parents | 247501e81026 |
children | 928229f8b3e6 |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-save.c Fri Jan 13 17:11:47 2006 +0200 +++ b/src/lib-storage/index/mbox/mbox-save.c Fri Jan 13 22:25:57 2006 +0200 @@ -263,7 +263,7 @@ static int mbox_save_init_file(struct mbox_save_context *ctx, - struct mbox_transaction_context *t, int want_mail) + struct mbox_transaction_context *t, bool want_mail) { struct mbox_mailbox *mbox = ctx->mbox; int ret; @@ -322,7 +322,7 @@ } static void save_header_callback(struct message_header_line *hdr, - int *matched, void *context) + bool *matched, void *context) { struct mbox_save_context *ctx = context; @@ -343,7 +343,7 @@ mbox_save_init(struct mailbox_transaction_context *_t, enum mail_flags flags, struct mail_keywords *keywords, time_t received_date, int timezone_offset __attr_unused__, - const char *from_envelope, struct istream *input, int want_mail) + const char *from_envelope, struct istream *input, bool want_mail) { struct mbox_transaction_context *t = (struct mbox_transaction_context *)_t;