[dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c, 1.34, 1.35

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
In directory talvi:/tmp/cvs-serv27532/lib-storage/index

Modified Files:
	index-mail-headers.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: index-mail-headers.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-mail-headers.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- index-mail-headers.c	15 Aug 2004 03:40:32 -0000	1.34
+++ index-mail-headers.c	22 Aug 2004 02:58:40 -0000	1.35
@@ -540,8 +540,7 @@
 
 	index_mail_parse_header_init(mail, _headers);
 	mail->data.filter_stream =
-		i_stream_create_header_filter(mail->pool, mail->data.stream,
-					      FALSE,
+		i_stream_create_header_filter(mail->data.stream, FALSE,
 					      headers->name, headers->count,
 					      header_cache_callback, mail);
 	return mail->data.filter_stream;



More information about the dovecot-cvs mailing list