diff options
author | est31 <MTest31@outlook.com> | 2015-06-23 21:14:48 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-06-23 21:14:48 +0200 |
commit | 3a89e25fe04ede972b959dc9e64c2c3dde5a230a (patch) | |
tree | 1eb1905f031e5b105e68b79e4ea1b1c039c1d6c9 /src/network/clientpackethandler.cpp | |
parent | 2c1fd29884adec17564d39c0f7792633cbc55f9a (diff) | |
download | minetest-3a89e25fe04ede972b959dc9e64c2c3dde5a230a.tar.gz minetest-3a89e25fe04ede972b959dc9e64c2c3dde5a230a.tar.bz2 minetest-3a89e25fe04ede972b959dc9e64c2c3dde5a230a.zip |
Small TOCLIENT_HELLO logging fix
Fix grammar error and missing number conversion for version.
Also add deployed protocol to log line.
Diffstat (limited to 'src/network/clientpackethandler.cpp')
-rw-r--r-- | src/network/clientpackethandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index 1f13c62f9..35a9bf07a 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -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; |