Fixed print for serverlist.
This commit is contained in:
@@ -599,7 +599,7 @@ void Client::displayServerlist()
|
|||||||
LOG_INFO("This is a serverlist:\n");
|
LOG_INFO("This is a serverlist:\n");
|
||||||
for (int i = 0; i < m_Serverlist.size(); i++) {
|
for (int i = 0; i < m_Serverlist.size(); i++) {
|
||||||
ServerInfo si = m_Serverlist[i];
|
ServerInfo si = m_Serverlist[i];
|
||||||
LOG_INFO("%s:%i\t%s\t%i\n", si.Address, si.Port, si.Name, si.PlayersConnected);
|
LOG_INFO("%s:%i\t%s\t%i\n", si.Address.c_str(), si.Port, si.Name.c_str(), si.PlayersConnected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user