mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 05:42:17 +00:00
tio: fix wrong body size on optimized ListDirectory
This commit is contained in:
parent
c7e4f963e8
commit
18031ae107
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ namespace ams::tio {
|
||||||
out->size = read_count * sizeof(fs::DirectoryEntry);
|
out->size = read_count * sizeof(fs::DirectoryEntry);
|
||||||
|
|
||||||
/* Set the response body size. */
|
/* Set the response body size. */
|
||||||
response_header.body_size = sizeof(out) + out->size;
|
response_header.body_size = sizeof(*out) + out->size;
|
||||||
} else {
|
} else {
|
||||||
/* We have to use multiple sends. */
|
/* We have to use multiple sends. */
|
||||||
/* Lock our server. */
|
/* Lock our server. */
|
||||||
|
|
Loading…
Reference in a new issue