[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c, 1.61, 1.62
tss at dovecot.org
tss at dovecot.org
Wed Apr 4 12:27:42 EEST 2007
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv25146/lib-storage/index/mbox
Modified Files:
mbox-sync-parse.c
Log Message:
Header parser has now flags parameter to tell it how to handle linefeeds.
Changed message parser's boolean parameter to enum as well.
Index: mbox-sync-parse.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- mbox-sync-parse.c 23 Mar 2007 02:46:20 -0000 1.61
+++ mbox-sync-parse.c 4 Apr 2007 09:27:39 -0000 1.62
@@ -476,7 +476,7 @@
mbox_md5_ctx = mbox_md5_init();
line_start_pos = 0;
- hdr_ctx = message_parse_header_init(input, NULL, FALSE);
+ hdr_ctx = message_parse_header_init(input, NULL, 0);
while ((ret = message_parse_header_next(hdr_ctx, &hdr)) > 0) {
if (hdr->eoh) {
ctx->have_eoh = TRUE;
@@ -570,7 +570,7 @@
memset(&ctx, 0, sizeof(ctx));
mbox_md5_ctx = mbox_md5_init();
- hdr_ctx = message_parse_header_init(mbox->mbox_stream, NULL, FALSE);
+ hdr_ctx = message_parse_header_init(mbox->mbox_stream, NULL, 0);
while ((ret = message_parse_header_next(hdr_ctx, &hdr)) > 0) {
if (hdr->eoh)
break;
More information about the dovecot-cvs
mailing list