1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Eliminate warnings / errors. Pull request #388

This commit is contained in:
Nikolay Shalakin
2017-10-29 18:23:30 +03:00
committed by Arseniy Shestakov
parent 3c1c72319b
commit 3795985de9
16 changed files with 43 additions and 25 deletions

View File

@@ -161,7 +161,8 @@ void CPregameServer::run()
if(state != RUNNING)
{
logNetwork->info("Stopping listening for connections...");
acceptor->close();
if(acceptor)
acceptor->close();
}
if(acceptor)