Skip to content

Commit 3a89e25

Browse files
committedJun 23, 2015
Small TOCLIENT_HELLO logging fix
Fix grammar error and missing number conversion for version. Also add deployed protocol to log line.
1 parent 2c1fd29 commit 3a89e25

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/network/clientpackethandler.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ void Client::handleCommand_Hello(NetworkPacket* pkt)
5555
// Chose an auth method we support
5656
AuthMechanism chosen_auth_mechanism = choseAuthMech(auth_mechs);
5757

58-
infostream << "Client: TOCLIENT_HELLO received with "
59-
<< "serialization_ver=" << serialization_ver
58+
infostream << "Client: TOCLIENT_HELLO recieved with "
59+
<< "serialization_ver=" << (u32)serialization_ver
6060
<< ", auth_mechs=" << auth_mechs
61+
<< ", proto_ver=" << proto_ver
6162
<< ", compression_mode=" << compression_mode
6263
<< ". Doing auth with mech " << chosen_auth_mechanism << std::endl;
6364

2 commit comments

Comments
 (2)

kilbith commented on Jun 23, 2015

@kilbith
Contributor

Huh ? The correct word is received, not recieved.

nerzhul commented on Jun 23, 2015

@nerzhul
Contributor

Right, i fix this typo

Please sign in to comment.