fixed bug in file.c
This commit is contained in:
parent
ae4da6d73d
commit
1f597c0220
1 changed files with 2 additions and 0 deletions
|
|
@ -226,6 +226,8 @@ static vec(uint8) _readWholeInternalVec(file_t ctx) {
|
||||||
goto failed_free;
|
goto failed_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_veclen(contents) = read;
|
||||||
|
|
||||||
failed:
|
failed:
|
||||||
return contents;
|
return contents;
|
||||||
failed_free:
|
failed_free:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue