dovecot-2.2: istream-concat: Bugfix
dovecot at dovecot.org
dovecot at dovecot.org
Sat Aug 25 12:05:46 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/57efcf0957ea
changeset: 14959:57efcf0957ea
user: Timo Sirainen <tss at iki.fi>
date: Sat Aug 25 12:05:34 2012 +0300
description:
istream-concat: Bugfix
diffstat:
src/lib/istream-concat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 7cbbac45ad49 -r 57efcf0957ea src/lib/istream-concat.c
--- a/src/lib/istream-concat.c Fri Aug 24 19:44:43 2012 +0000
+++ b/src/lib/istream-concat.c Sat Aug 25 12:05:34 2012 +0300
@@ -119,7 +119,7 @@
cur_data_pos = stream->pos - (stream->skip + cstream->prev_stream_left);
data = i_stream_get_data(cstream->cur_input, &data_size);
- if (data_size <= cur_data_pos)
+ if (data_size > cur_data_pos)
ret = 0;
else {
/* need to read more */
More information about the dovecot-cvs
mailing list