Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/istream-tee.h @ 6142:6c0bfc35af03 HEAD
Removed memory pool parameter from iostreams. Default pool was almost always
used, and the stream usually required destroying anyway so it didn't even
make freeing memory easier.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 24 Jul 2007 06:59:56 +0300 |
parents | 662578b5ae22 |
children | e4eb71ae8e96 |
line wrap: on
line diff
--- a/src/lib/istream-tee.h Tue Jul 24 06:49:00 2007 +0300 +++ b/src/lib/istream-tee.h Tue Jul 24 06:59:56 2007 +0300 @@ -7,9 +7,8 @@ If the stream's buffer gets full because some child isn't consuming the data, other streams get returned 0 by i_stream_read(). */ -struct tee_istream *tee_i_stream_create(struct istream *input, pool_t pool); +struct tee_istream *tee_i_stream_create(struct istream *input); -struct istream * -tee_i_stream_create_child(struct tee_istream *tee, pool_t pool); +struct istream *tee_i_stream_create_child(struct tee_istream *tee); #endif