Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7978:6f47263b947b HEAD
i_stream_read_data() comment update.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 08 Jul 2008 20:18:41 +0530 |
parents | fed87704b48a |
children | 3eac38f8d5a4 |
files | src/lib/istream.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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_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);