Small TOCLIENT_HELLO logging fix
authorest31 <MTest31@outlook.com>
Tue, 23 Jun 2015 19:14:48 +0000 (21:14 +0200)
committerest31 <MTest31@outlook.com>
Tue, 23 Jun 2015 19:14:48 +0000 (21:14 +0200)
Fix grammar error and missing number conversion for version.
Also add deployed protocol to log line.

src/network/clientpackethandler.cpp

index 1f13c62f9abd8fe068ec5679edff6c97dcf27bb4..35a9bf07abacde6ae4ce08f315f0314d884a4abb 100644 (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;