[dovecot-cvs] dovecot/src/lib-mail istream-header-filter.c, 1.36, 1.37

tss at dovecot.org tss at dovecot.org
Tue Feb 6 10:40:17 UTC 2007


Update of /var/lib/cvs/dovecot/src/lib-mail
In directory talvi:/tmp/cvs-serv19479/lib-mail

Modified Files:
	istream-header-filter.c 
Log Message:
Added istream->blocking setting. It's now used to assert-crash early if a
blocking stream unexpectedly returns "need more data".



Index: istream-header-filter.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/istream-header-filter.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- istream-header-filter.c	15 Dec 2006 16:55:41 -0000	1.36
+++ istream-header-filter.c	6 Feb 2007 10:40:15 -0000	1.37
@@ -351,6 +351,7 @@
 	mstream->istream.sync = _sync;
 	mstream->istream.stat = _stat;
 
+	mstream->istream.istream.blocking = input->blocking;
 	mstream->istream.istream.seekable = input->seekable;
 	return _i_stream_create(&mstream->istream, pool, -1, 0);
 }



More information about the dovecot-cvs mailing list