1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-17 14:55:13 -05:00

Small TOCLIENT_HELLO logging fix

Fix grammar error and missing number conversion for version.
Also add deployed protocol to log line.
This commit is contained in:
est31 2015-06-23 21:14:48 +02:00
parent 2c1fd29884
commit 3a89e25fe0

View File

@ -55,9 +55,10 @@ void Client::handleCommand_Hello(NetworkPacket* pkt)
// Chose an auth method we support
AuthMechanism chosen_auth_mechanism = choseAuthMech(auth_mechs);
infostream << "Client: TOCLIENT_HELLO received with "
<< "serialization_ver=" << serialization_ver
infostream << "Client: TOCLIENT_HELLO recieved with "
<< "serialization_ver=" << (u32)serialization_ver
<< ", auth_mechs=" << auth_mechs
<< ", proto_ver=" << proto_ver
<< ", compression_mode=" << compression_mode
<< ". Doing auth with mech " << chosen_auth_mechanism << std::endl;