Changed parameter to make things more obvious

SVN revision: 2142
This commit is contained in:
2008-11-18 11:08:26 +00:00
parent c046064399
commit 4d1a8a26f5
+1 -1
View File
@@ -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);
i = my_read(fh, message, TEXT_SIZE + 99);
i = my_read(fh, message, TEXT_SIZE + 100 - 1);
if (i >= 0)
message[i] = 0;
else