Skip to content

Commit 8f43aaf

Browse files
committedMar 29, 2016
Fix small formatting issue in SRP debug output
Writing an u8 to verbosestream writes a char, not it's numeric value.
1 parent b9068af commit 8f43aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/network/serverpackethandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,7 @@ void Server::handleCommand_FirstSrp(NetworkPacket* pkt)
18081808
*pkt >> salt >> verification_key >> is_empty;
18091809

18101810
verbosestream << "Server: Got TOSERVER_FIRST_SRP from " << addr_s
1811-
<< ", with is_empty= " << is_empty << std::endl;
1811+
<< ", with is_empty=" << (is_empty == 1) << std::endl;
18121812

18131813
// Either this packet is sent because the user is new or to change the password
18141814
if (cstate == CS_HelloSent) {

0 commit comments

Comments
 (0)