summaryrefslogtreecommitdiffstats
path: root/core/io/stream_peer_tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/stream_peer_tcp.h')
-rw-r--r--core/io/stream_peer_tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/stream_peer_tcp.h b/core/io/stream_peer_tcp.h
index 39c2e84346..778fb83374 100644
--- a/core/io/stream_peer_tcp.h
+++ b/core/io/stream_peer_tcp.h
@@ -79,7 +79,7 @@ public:
Error poll();
// Wait or check for writable, readable.
- Error wait(NetSocket::PollType p_type, int timeout = 0);
+ Error wait(NetSocket::PollType p_type, int p_timeout = 0);
// Read/Write from StreamPeer
Error put_data(const uint8_t *p_data, int p_bytes) override;