[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-mail.c, 1.12, 1.13

cras at dovecot.org cras at dovecot.org
Sun Aug 22 05:58:42 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv27532/lib-storage/index/mbox

Modified Files:
	mbox-mail.c 
Log Message:
istream-header-filter now parses the headers incrementally while read()ing,
instead of doing it at initialization and storing into one large buffer.



Index: mbox-mail.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-mail.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- mbox-mail.c	18 Jul 2004 02:25:08 -0000	1.12
+++ mbox-mail.c	22 Aug 2004 02:58:40 -0000	1.13
@@ -129,8 +129,7 @@
 		raw_stream = i_stream_create_limit(default_pool, raw_stream,
 						   offset, (uoff_t)-1);
 		data->stream =
-			i_stream_create_header_filter(default_pool,
-						      raw_stream, TRUE,
+			i_stream_create_header_filter(raw_stream, TRUE,
 						      mbox_hide_headers,
 						      mbox_hide_headers_count,
 						      NULL, NULL);



More information about the dovecot-cvs mailing list