[dovecot-cvs] dovecot/src/lib ostream-file.c,1.10,1.11

cras at procontrol.fi cras at procontrol.fi
Wed Feb 19 23:31:04 EET 2003


Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv31625/lib

Modified Files:
	ostream-file.c 
Log Message:
sendfile bugfix



Index: ostream-file.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/ostream-file.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ostream-file.c	19 Feb 2003 19:50:22 -0000	1.10
+++ ostream-file.c	19 Feb 2003 21:31:02 -0000	1.11
@@ -570,7 +570,7 @@
 		outstream->ostream.offset += ret;
 	} while ((uoff_t)ret != send_size);
 
-	i_stream_seek(instream, instream->start_offset + v_offset);
+	i_stream_seek(instream, v_offset);
 	return ret < 0 ? -1 : (off_t)(instream->v_offset - start_offset);
 }
 




More information about the dovecot-cvs mailing list