You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
StreamPeerWinsock: Fix changed declarations
Bug introduced in dcb95ec147.
This commit is contained in:
@@ -218,7 +218,7 @@ Error StreamPeerTCPPosix::write(const uint8_t* p_data,int p_bytes, int &r_sent,
|
||||
|
||||
perror("shit?");
|
||||
disconnect_from_host();
|
||||
ERR_PRINT("Server disconnect_from_hosted!\n");
|
||||
ERR_PRINT("Server disconnected!\n");
|
||||
return FAILED;
|
||||
};
|
||||
|
||||
@@ -275,7 +275,7 @@ Error StreamPeerTCPPosix::read(uint8_t* p_buffer, int p_bytes,int &r_received, b
|
||||
|
||||
perror("shit?");
|
||||
disconnect_from_host();
|
||||
ERR_PRINT("Server disconnect_from_hosted!\n");
|
||||
ERR_PRINT("Server disconnected!\n");
|
||||
return FAILED;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user