blaze822: hackfix

This commit is contained in:
Christian Neukirchen 2016-07-12 21:11:18 +02:00
parent 9418394d14
commit 5bc288f1aa

View File

@ -389,7 +389,7 @@ blaze822_body(struct message *mesg, char *file)
if (fd < 0) if (fd < 0)
return fd; return fd;
if (lseek(fd, mesg->end - mesg->msg, SEEK_SET) < 0) { if (lseek(fd, mesg->end - mesg->msg - 2, SEEK_SET) < 0) {
perror("lseek"); perror("lseek");
close(fd); close(fd);
return -1; return -1;