Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/istream-data.c @ 9170:b1a27ed69e60 HEAD
Added struct istream.readable_fd, which is used to determine if sendfile() can be used.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 27 Jun 2009 20:53:35 -0400 |
parents | b9faf4db2a9f |
children | 00cd9aacd03c |
line wrap: on
line diff
--- a/src/lib/istream-data.c Sun Jun 28 00:22:44 2009 +0200 +++ b/src/lib/istream-data.c Sat Jun 27 20:53:35 2009 -0400 @@ -27,6 +27,7 @@ stream->read = i_stream_data_read; stream->seek = i_stream_data_seek; + stream->istream.readable_fd = FALSE; stream->istream.blocking = TRUE; stream->istream.seekable = TRUE; (void)i_stream_create(stream, NULL, -1);