Slightly fix API return and input types

This commit is contained in:
Vitaliy Filippov
2026-04-04 19:01:49 +03:00
parent 2dbfc8548a
commit 04e4fcd14d
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)