summaryrefslogtreecommitdiff
path: root/drivers/unix/stream_peer_tcp_posix.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-31 17:26:12 +0100
committerGitHub <noreply@github.com>2018-01-31 17:26:12 +0100
commite7cf2b2e77a097a026f883f003ad299b5d451885 (patch)
treeca93ec416a14b9a7e05d3e92aab790bf565cad61 /drivers/unix/stream_peer_tcp_posix.cpp
parent7b691339290d9bc975deba57a0974c1c7049512b (diff)
parent87adf9cfbab00a40aad483b4e709518d5f61b6d1 (diff)
Merge pull request #16188 from Schweigert/master
Display set_nodelay to GDScript
Diffstat (limited to 'drivers/unix/stream_peer_tcp_posix.cpp')
-rw-r--r--drivers/unix/stream_peer_tcp_posix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/stream_peer_tcp_posix.cpp b/drivers/unix/stream_peer_tcp_posix.cpp
index ba9481d36b..17112e5ab5 100644
--- a/drivers/unix/stream_peer_tcp_posix.cpp
+++ b/drivers/unix/stream_peer_tcp_posix.cpp
@@ -304,7 +304,7 @@ Error StreamPeerTCPPosix::read(uint8_t *p_buffer, int p_bytes, int &r_received,
return OK;
};
-void StreamPeerTCPPosix::set_nodelay(bool p_enabled) {
+void StreamPeerTCPPosix::set_no_delay(bool p_enabled) {
ERR_FAIL_COND(!is_connected_to_host());
int flag = p_enabled ? 1 : 0;