mirror of
https://github.com/matrix-construct/construct
synced 2024-12-02 03:32:52 +01:00
modules/media/download: Minor cleanup.
This commit is contained in:
parent
0fb19b85ca
commit
d136fd75f5
1 changed files with 10 additions and 9 deletions
|
@ -142,7 +142,8 @@ get__download_local(client &client,
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
if(unlikely(read != file_size)) log::error
|
if(unlikely(read != file_size))
|
||||||
|
log::error
|
||||||
{
|
{
|
||||||
m::media::log, "File %s/%s [%s] size mismatch: expected %zu got %zu",
|
m::media::log, "File %s/%s [%s] size mismatch: expected %zu got %zu",
|
||||||
server,
|
server,
|
||||||
|
|
Loading…
Reference in a new issue