dovecot-1.0: Assert fix

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


details:   http://hg.dovecot.org/dovecot-1.0/rev/5e347c7daefd
changeset: 5381:5e347c7daefd
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Aug 09 22:09:02 2007 +0300
description:
Assert fix

diffstat:

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

diffs (12 lines):

diff -r bd113e9fe67b -r 5e347c7daefd src/lib/ostream-file.c
--- a/src/lib/ostream-file.c	Thu Aug 09 21:26:01 2007 +0300
+++ b/src/lib/ostream-file.c	Thu Aug 09 22:09:02 2007 +0300
@@ -481,7 +481,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