From 63d1a80656fbbacb7f055866fda7d2892721510f Mon Sep 17 00:00:00 2001 From: Tarik02 Date: Fri, 26 Apr 2019 22:27:50 +0300 Subject: Removed a call to `set_blocking_enabled` from function `enet_socket_create` since it is already called from https://github.com/godotengine/godot/blob/master/thirdparty/enet/host.c#L63 --- thirdparty/enet/godot.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'thirdparty/enet') diff --git a/thirdparty/enet/godot.cpp b/thirdparty/enet/godot.cpp index 894061a20f..822a294781 100644 --- a/thirdparty/enet/godot.cpp +++ b/thirdparty/enet/godot.cpp @@ -95,7 +95,6 @@ ENetSocket enet_socket_create(ENetSocketType type) { NetSocket *socket = NetSocket::create(); IP::Type ip_type = IP::TYPE_ANY; socket->open(NetSocket::TYPE_UDP, ip_type); - socket->set_blocking_enabled(false); return socket; } -- cgit v1.2.3