1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Apply some of Vadim's changes

I intentionally didn't transfer changes in CLoadIntegrityValidator since not really agree with them.
This commit is contained in:
Arseniy Shestakov
2016-10-27 18:39:17 +03:00
parent 8f349b5105
commit 5f1254a29e
2 changed files with 9 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ CPack * CConnection::retreivePack()
boost::unique_lock<boost::mutex> lock(*rmx);
logNetwork->traceStream() << "Listening... ";
iser & ret;
logNetwork->traceStream() << "\treceived server message of type " << typeid(*ret).name() << ", data: " << ret;
logNetwork->traceStream() << "\treceived server message of type " << (ret? typeid(*ret).name() : "nullptr") << ", data: " << ret;
return ret;
}