Log close error to console

This commit is contained in:
def 2020-10-15 17:48:22 +02:00
parent 5a8fe3d2b4
commit 040876b0d3

View file

@ -287,6 +287,7 @@ int CGetFile::OnCompletion(int State)
{ {
if(m_File && io_close(m_File) != 0) if(m_File && io_close(m_File) != 0)
{ {
dbg_msg("http", "i/o error, cannot close file: %s", m_aDest);
State = HTTP_ERROR; State = HTTP_ERROR;
} }