[dovecot-cvs] dovecot/src/plugins/fts fts-storage.c,1.21,1.22

tss at dovecot.org tss at dovecot.org
Wed Apr 4 12:27:43 EEST 2007


Update of /var/lib/cvs/dovecot/src/plugins/fts
In directory talvi:/tmp/cvs-serv25146/plugins/fts

Modified Files:
	fts-storage.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: fts-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts/fts-storage.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- fts-storage.c	3 Apr 2007 18:03:55 -0000	1.21
+++ fts-storage.c	4 Apr 2007 09:27:41 -0000	1.22
@@ -173,7 +173,9 @@
 		return -1;
 
 	prev_part = skip_part = NULL;
-	parser = message_parser_init(pool_datastack_create(), input);
+	parser = message_parser_init(pool_datastack_create(), input,
+				     MESSAGE_HEADER_PARSER_FLAG_CLEAN_ONELINE,
+				     0);
 	decoder = message_decoder_init_ucase();
 	for (;;) {
 		ret = message_parser_parse_next_block(parser, &raw_block);



More information about the dovecot-cvs mailing list