Slightly fix API return and input types

This commit is contained in:
Vitaliy Filippov
2026-04-17 13:53:40 +03:00
parent 07c9606594
commit 41100260ec
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)