Mercurial > dovecot > original-hg > dovecot-1.2
diff src/deliver/deliver.c @ 6279:f52e7d1402b5 HEAD
mail_index_view_sync_next() and mailbox_sync_next() returns now bool.
Renamed void mailbox_index_view_sync_end() to int
mailbox_index_view_sync_commit().
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 12 Aug 2007 18:16:40 +0300 |
parents | 5f66277bbe40 |
children | eb7c9d8ece54 |
line wrap: on
line diff
--- a/src/deliver/deliver.c Sun Aug 12 18:07:22 2007 +0300 +++ b/src/deliver/deliver.c Sun Aug 12 18:16:40 2007 +0300 @@ -75,7 +75,7 @@ struct mailbox_sync_rec sync_rec; ctx = mailbox_sync_init(box, 0); - while (mailbox_sync_next(ctx, &sync_rec) > 0) + while (mailbox_sync_next(ctx, &sync_rec)) ; return mailbox_sync_deinit(&ctx, 0, NULL); }