diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 19:13:23 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 19:13:23 +0200 |
commit | 7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4 (patch) | |
tree | 54a0e32d887554b1131c8c9123027f16a7faf5d8 /src/Server.cpp | |
parent | Fixed basic whitespace problems. (diff) | |
download | cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.gz cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.bz2 cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.lz cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.xz cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.zst cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.zip |
Diffstat (limited to 'src/Server.cpp')
-rw-r--r-- | src/Server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index 17551eeb1..81ecd38b2 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -202,7 +202,7 @@ bool cServer::InitServer(cIniFile & a_SettingsIni) m_PlayerCount = 0; m_PlayerCountDiff = 0; - m_FaviconData = Base64Encode(cFile::ReadWholeFile(FILE_IO_PREFIX + AString("favicon.png"))); // Will return empty string if file nonexistant; client doesn't mind + m_FaviconData = Base64Encode(cFile::ReadWholeFile(FILE_IO_PREFIX + AString("favicon.png"))); // Will return empty string if file nonexistant; client doesn't mind if (m_bIsConnected) { @@ -213,7 +213,7 @@ bool cServer::InitServer(cIniFile & a_SettingsIni) LOGINFO("Compatible clients: %s", MCS_CLIENT_VERSIONS); LOGINFO("Compatible protocol versions %s", MCS_PROTOCOL_VERSIONS); - if (cSocket::WSAStartup() != 0) // Only does anything on Windows, but whatever + if (cSocket::WSAStartup() != 0) // Only does anything on Windows, but whatever { LOGERROR("WSAStartup() != 0"); return false; @@ -409,7 +409,7 @@ void cServer::TickClients(float a_Dt) for (cClientHandleList::iterator itr = RemoveClients.begin(); itr != RemoveClients.end(); ++itr) { delete *itr; - } // for itr - RemoveClients[] + } // for itr - RemoveClients[] } |