Slightly fix API return and input types

This commit is contained in:
Vitaliy Filippov
2026-05-19 17:19:16 +03:00
parent 6bdd260b50
commit 376226552a
17 changed files with 258 additions and 91 deletions
+1 -1
View File
@@ -864,7 +864,7 @@ resume_2:
// Copy data
if (iinfo.in_seekable && iseek >= iinfo.in_size)
{
result = (cli_result_t){ .err = -EINVAL, .text = "Input seek position is beyond end of input" };
result = (cli_result_t){ .err = EINVAL, .text = "Input seek position is beyond end of input" };
goto close_end;
}
if (!iinfo.iwatch && !iinfo.in_seekable && iseek)