dovecot-1.2: i_stream_read_data() comment update.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jul 8 18:41:31 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/6f47263b947b
changeset: 7978:6f47263b947b
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jul 08 20:18:41 2008 +0530
description:
i_stream_read_data() comment update.

diffstat:

1 file changed, 3 insertions(+), 3 deletions(-)
src/lib/istream.h |    6 +++---

diffs (16 lines):

diff -r fed87704b48a -r 6f47263b947b src/lib/istream.h
--- a/src/lib/istream.h	Tue Jul 08 19:19:21 2008 +0530
+++ b/src/lib/istream.h	Tue Jul 08 20:18:41 2008 +0530
@@ -99,9 +99,9 @@ unsigned char *i_stream_get_modifiable_d
 unsigned char *i_stream_get_modifiable_data(const struct istream *stream,
 					    size_t *size_r);
 /* Like i_stream_get_data(), but read more when needed. Returns 1 if more
-   than threshold bytes are available, 0 if less, -1 if error or EOF with no
-   bytes read that weren't already in buffer, or -2 if stream's input buffer
-   is full. */
+   than threshold bytes are available, 0 if as much or less, -1 if error or
+   EOF with no bytes read that weren't already in buffer, or -2 if stream's
+   input buffer is full. */
 int i_stream_read_data(struct istream *stream, const unsigned char **data_r,
 		       size_t *size_r, size_t threshold);
 


More information about the dovecot-cvs mailing list