mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 18:13:46 +01:00
Fix small formatting issue in SRP debug output
Writing an u8 to verbosestream writes a char, not it's numeric value.
This commit is contained in:
parent
b9068af27d
commit
8f43aaf6ae
@ -1808,7 +1808,7 @@ void Server::handleCommand_FirstSrp(NetworkPacket* pkt)
|
|||||||
*pkt >> salt >> verification_key >> is_empty;
|
*pkt >> salt >> verification_key >> is_empty;
|
||||||
|
|
||||||
verbosestream << "Server: Got TOSERVER_FIRST_SRP from " << addr_s
|
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
|
// Either this packet is sent because the user is new or to change the password
|
||||||
if (cstate == CS_HelloSent) {
|
if (cstate == CS_HelloSent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user