Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/istream-data.c @ 7032:85cf52f0bc64 HEAD
i_stream_create() now takes parent stream as parameter and internally sets
abs_start_offset correctly. Added parent_start_offset which is used by
filters instead of their own internal start_offset.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 22 Dec 2007 05:15:51 +0200 |
parents | 65c69a53a7be |
children | 7ed926ed7aa4 |
line wrap: on
line diff
--- a/src/lib/istream-data.c Sat Dec 22 05:04:46 2007 +0200 +++ b/src/lib/istream-data.c Sat Dec 22 05:15:51 2007 +0200 @@ -29,7 +29,7 @@ stream->istream.blocking = TRUE; stream->istream.seekable = TRUE; - (void)i_stream_create(stream, -1, 0); + (void)i_stream_create(stream, NULL, -1); stream->statbuf.st_size = size; return &stream->istream; }