[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-sync-full.c,
1.1, 1.2
cras at dovecot.org
cras at dovecot.org
Thu Jan 5 03:27:53 EET 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-mail.c, 1.1,
1.2
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-private.h, 1.58,
1.59 mail-index-sync-ext.c, 1.13,
1.14 mail-index-transaction-view.c, 1.14,
1.15 mail-index-transaction.c, 1.69, 1.70 mail-index.c, 1.209,
1.210 mail-transaction-log-append.c, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv26382/lib-storage/index/dbox
Modified Files:
dbox-sync-full.c
Log Message:
Read flags properly from header when syncing
Index: dbox-sync-full.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-sync-full.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dbox-sync-full.c 21 Dec 2005 18:43:16 -0000 1.1
+++ dbox-sync-full.c 5 Jan 2006 01:27:51 -0000 1.2
@@ -49,15 +49,15 @@
}
flags = 0;
- if (hdr->answered)
+ if (hdr->answered == '1')
flags |= MAIL_ANSWERED;
- if (hdr->flagged)
+ if (hdr->flagged == '1')
flags |= MAIL_FLAGGED;
- if (hdr->deleted)
+ if (hdr->deleted == '1')
flags |= MAIL_DELETED;
- if (hdr->seen)
+ if (hdr->seen == '1')
flags |= MAIL_SEEN;
- if (hdr->draft)
+ if (hdr->draft == '1')
flags |= MAIL_DRAFT;
mail_index_update_flags(ctx->trans, seq, MODIFY_REPLACE, flags);
// FIXME: keywords
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-mail.c, 1.1,
1.2
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-private.h, 1.58,
1.59 mail-index-sync-ext.c, 1.13,
1.14 mail-index-transaction-view.c, 1.14,
1.15 mail-index-transaction.c, 1.69, 1.70 mail-index.c, 1.209,
1.210 mail-transaction-log-append.c, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list