Merge from Git repository
--HG-- branch : develop
This commit is contained in:
commit
c6063649ec
1 changed files with 2 additions and 2 deletions
|
@ -1312,8 +1312,8 @@ void CClientEditionModule::onUserComponentDownloaded(NLNET::IModuleProxy *sender
|
||||||
|
|
||||||
if (decompressionState != Z_OK)
|
if (decompressionState != Z_OK)
|
||||||
{
|
{
|
||||||
|
nlwarning("Error: the downloaded user component is corrupted '%s'", component->Filename.c_str());
|
||||||
delete component;
|
delete component;
|
||||||
nlwarning("Error: the downloaded user component is corrupted '%s' ", component->Filename.c_str());
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
component->UncompressedData[component->UncompressedDataLength] = '\0';
|
component->UncompressedData[component->UncompressedDataLength] = '\0';
|
||||||
|
|
Loading…
Reference in a new issue