File diff r23496:661d21df67d7 → r23497:a0ab44ebd2fa
src/network/network_server.cpp
Show inline comments
 
@@ -163,7 +163,7 @@ struct PacketWriter : SaveFilter {
 
		this->current = NULL;
 
	}
 

	
 
	/* virtual */ void Write(byte *buf, size_t size)
 
	void Write(byte *buf, size_t size) override
 
	{
 
		/* We want to abort the saving when the socket is closed. */
 
		if (this->cs == NULL) SlError(STR_NETWORK_ERROR_LOSTCONNECTION);
 
@@ -190,7 +190,7 @@ struct PacketWriter : SaveFilter {
 
		this->total_size += size;
 
	}
 

	
 
	/* virtual */ void Finish()
 
	void Finish() override
 
	{
 
		/* We want to abort the saving when the socket is closed. */
 
		if (this->cs == NULL) SlError(STR_NETWORK_ERROR_LOSTCONNECTION);