Skip to content
Permalink
Browse files

Small TOCLIENT_HELLO logging fix

Fix grammar error and missing number conversion for version.
Also add deployed protocol to log line.
  • Loading branch information
est31 committed Jun 23, 2015
1 parent 2c1fd29 commit 3a89e25fe04ede972b959dc9e64c2c3dde5a230a
Showing with 3 additions and 2 deletions.
  1. +3 −2 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;

2 comments on commit 3a89e25

@kilbith

This comment has been minimized.

Copy link
Contributor

@kilbith kilbith replied Jun 23, 2015

Huh ? The correct word is received, not recieved.

@nerzhul

This comment has been minimized.

Copy link
Member

@nerzhul nerzhul replied Jun 23, 2015

Right, i fix this typo

Please sign in to comment.