[dovecot-cvs] dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.28, 1.29

cras at dovecot.org cras at dovecot.org
Mon Jun 6 00:42:24 EEST 2005


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv3496/mbox

Modified Files:
	istream-raw-mbox.c 
Log Message:
Added assert



Index: istream-raw-mbox.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- istream-raw-mbox.c	29 Mar 2005 10:30:19 -0000	1.28
+++ istream-raw-mbox.c	5 Jun 2005 21:42:22 -0000	1.29
@@ -63,6 +63,7 @@
 			return -1;
 		}
 		buf = i_stream_get_data(rstream->input, &pos);
+		i_assert(pos > 0);
 	}
 	line_pos = (size_t)(p - buf);
 



More information about the dovecot-cvs mailing list