[dovecot-cvs] dovecot/src/lib istream.c,1.17,1.18

cras at procontrol.fi cras at procontrol.fi
Sun Jun 20 01:06:32 EEST 2004


Update of /home/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv13692/lib

Modified Files:
	istream.c 
Log Message:
seek optimization



Index: istream.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/istream.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- istream.c	19 Jun 2004 00:59:31 -0000	1.17
+++ istream.c	19 Jun 2004 22:06:30 -0000	1.18
@@ -78,7 +78,7 @@
 {
 	struct _istream *_stream = stream->real_stream;
 
-	if (v_offset > stream->v_offset) {
+	if (v_offset >= stream->v_offset) {
 		i_stream_skip(stream, v_offset - stream->v_offset);
 		return;
 	}



More information about the dovecot-cvs mailing list