mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-11 13:10:32 +00:00
blaze822: hackfix
This commit is contained in:
parent
9418394d14
commit
5bc288f1aa
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user