1
0
mirror of https://github.com/GOSTSec/poolserver synced 2025-01-14 08:47:53 +00:00

Visual fix

This commit is contained in:
Intel 2014-05-05 15:07:28 -04:00
parent 4df0c537a3
commit 4d1ba03569

View File

@ -100,7 +100,7 @@ namespace Stratum
{
_clients.erase(client);
client->CloseSocket();
sLog.Debug(LOG_STRATUM, "Stratum client disconnected from %s. Total clients: %u", asio::ip::address_v4(client->GetIP()).to_string().c_str(), _clients.size());
sLog.Info(LOG_STRATUM, "Stratum client disconnected from %s. Total clients: %u", asio::ip::address_v4(client->GetIP()).to_string().c_str(), _clients.size());
}
void Ban(uint32 ip, uint64 time)
@ -136,7 +136,7 @@ namespace Stratum
if (!error) {
if (client->Start()) {
_clients.insert(client);
sLog.Debug(LOG_STRATUM, "New stratum client accepted from %s. Total clients: %u", asio::ip::address_v4(client->GetIP()).to_string().c_str(), _clients.size());
sLog.Info(LOG_STRATUM, "New stratum client accepted from %s. Total clients: %u", asio::ip::address_v4(client->GetIP()).to_string().c_str(), _clients.size());
}
} else {
sLog.Debug(LOG_STRATUM, "Failed to accept stratum client");