mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Changed parameter to make things more obvious
SVN revision: 2142
This commit is contained in:
parent
c046064399
commit
4d1a8a26f5
@ -4587,7 +4587,7 @@ int el_submit(LOGBOOK * lbs, int message_id, BOOL bedit, char *date, char attr_n
|
|||||||
}
|
}
|
||||||
|
|
||||||
lseek(fh, lbs->el_index[index].offset, SEEK_SET);
|
lseek(fh, lbs->el_index[index].offset, SEEK_SET);
|
||||||
i = my_read(fh, message, TEXT_SIZE + 99);
|
i = my_read(fh, message, TEXT_SIZE + 100 - 1);
|
||||||
if (i >= 0)
|
if (i >= 0)
|
||||||
message[i] = 0;
|
message[i] = 0;
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user