From 8f43aaf6ae5bf0d0e0809999308d84d9ece6eb6a Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 29 Mar 2016 19:55:39 +0200 Subject: Fix small formatting issue in SRP debug output Writing an u8 to verbosestream writes a char, not it's numeric value. --- src/network/serverpackethandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network') 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) { -- cgit v1.2.3