dovecot: Assert fix

dovecot at dovecot.org dovecot at dovecot.org
Thu Aug 9 22:09:08 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/4c48e42412ef
changeset: 6255:4c48e42412ef
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Aug 09 22:09:00 2007 +0300
description:
Assert fix

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/ostream-file.c |    2 +-

diffs (12 lines):

diff -r 28b9873da2cc -r 4c48e42412ef src/lib/ostream-file.c
--- a/src/lib/ostream-file.c	Thu Aug 09 21:26:02 2007 +0300
+++ b/src/lib/ostream-file.c	Thu Aug 09 22:09:00 2007 +0300
@@ -521,7 +521,7 @@ static ssize_t _sendv(struct _ostream *s
 			break;
 	}
 	stream->ostream.offset += ret;
-	i_assert(ret < (ssize_t)total_size);
+	i_assert(ret <= (ssize_t)total_size);
 	return ret;
 }
 


More information about the dovecot-cvs mailing list