summaryrefslogtreecommitdiff
path: root/thirdparty/enet/godot.cpp
diff options
context:
space:
mode:
authorTarik02 <Taras.Fomin@gmail.com>2019-04-26 22:27:50 +0300
committerTarik02 <Taras.Fomin@gmail.com>2019-04-26 22:27:50 +0300
commit63d1a80656fbbacb7f055866fda7d2892721510f (patch)
tree091cc41cd97a2033302ba2bded59cf1e4e9f1c1a /thirdparty/enet/godot.cpp
parentbb3089895c3638dd7668843099bf43d8999f0878 (diff)
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
Diffstat (limited to 'thirdparty/enet/godot.cpp')
-rw-r--r--thirdparty/enet/godot.cpp1
1 files changed, 0 insertions, 1 deletions
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;
}