From: Timo Sirainen Date: Tue, 8 Jul 2008 14:48:41 +0000 (+0530) Subject: i_stream_read_data() comment update. X-Git-Tag: 1.2.alpha1~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=699fdc186f982f70d990820796eaa0f12133e27c;p=thirdparty%2Fdovecot%2Fcore.git i_stream_read_data() comment update. --HG-- branch : HEAD --- diff --git a/src/lib/istream.h b/src/lib/istream.h index 5ac13bcfb7..ad24d71793 100644 --- a/src/lib/istream.h +++ b/src/lib/istream.h @@ -99,9 +99,9 @@ i_stream_get_data(const struct istream *stream, size_t *size_r); 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);