Skip to content

Commit

Permalink
Fix small formatting issue in SRP debug output
Browse files Browse the repository at this point in the history
Writing an u8 to verbosestream writes a char, not it's numeric value.
  • Loading branch information
sfan5 committed Mar 29, 2016
1 parent b9068af commit 8f43aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/serverpackethandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8f43aaf

Please sign in to comment.