diff options
author | sfan5 <sfan5@live.de> | 2016-03-29 19:55:39 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2016-03-29 19:59:14 +0200 |
commit | 8f43aaf6ae5bf0d0e0809999308d84d9ece6eb6a (patch) | |
tree | a80e15a76d617b6724bc47ba752b50278a34ff83 /src/network | |
parent | b9068af27d74c5bfcc61896fdd0d7737fc820f9c (diff) | |
download | minetest-8f43aaf6ae5bf0d0e0809999308d84d9ece6eb6a.tar.gz minetest-8f43aaf6ae5bf0d0e0809999308d84d9ece6eb6a.tar.bz2 minetest-8f43aaf6ae5bf0d0e0809999308d84d9ece6eb6a.zip |
Fix small formatting issue in SRP debug output
Writing an u8 to verbosestream writes a char, not it's numeric value.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/serverpackethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index ac00b1d80..1bcb78a8a 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -1808,7 +1808,7 @@ void Server::handleCommand_FirstSrp(NetworkPacket* pkt) *pkt >> salt >> verification_key >> is_empty; verbosestream << "Server: Got TOSERVER_FIRST_SRP from " << addr_s - << ", with is_empty= " << is_empty << std::endl; + << ", with is_empty=" << (is_empty == 1) << std::endl; // Either this packet is sent because the user is new or to change the password if (cstate == CS_HelloSent) { |