mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +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:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user