[dovecot-cvs] dovecot/src/lib ostream.h,1.16,1.17
tss at dovecot.org
tss at dovecot.org
Sun Mar 11 01:46:02 EET 2007
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv6960
Modified Files:
ostream.h
Log Message:
Updated o_stream_send_istream() comments
Index: ostream.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ostream.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- ostream.h 15 Dec 2006 16:55:33 -0000 1.16
+++ ostream.h 10 Mar 2007 23:46:00 -0000 1.17
@@ -75,6 +75,10 @@
Note that this function may block if either instream or outstream is
blocking.
+ Also note that this function may not add anything to the output buffer, so
+ if you want the flush callback to be called when more data can be written,
+ you'll need to call o_stream_set_flush_pending() manually.
+
It's also possible to use this function to copy data within same file
descriptor. If the file must be grown, you have to do it manually before
calling this function. */
More information about the dovecot-cvs
mailing list