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:
sfan5 2016-03-29 19:55:39 +02:00
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) {