--- source/job.cc	2008-07-18 23:34:06.000000000 +0200
+++ source/job.cc	2008-08-16 12:35:29.000000000 +0200
@@ -39,6 +39,10 @@
 		errno=EFAULT;
 		return -1;
 	}
+	if(*offset) {
+		if(lseek(in_fd, *offset, SEEK_SET)==-1)
+			return -1;
+	}
 	while(count>0)
 	{
 		int readcount=read(in_fd, buf, count>sizeof(buf)?sizeof(buf):count);
