summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-01-02 11:54:10 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-01-02 11:54:10 -0300
commitbc492c0bcaca1df9ade0968bff580b908569063a (patch)
tree746a59bab9ae0a3d363c4062b28eef010aaf5b18 /core
parent1714828b54c7866184cfcfe3ac05669fce257565 (diff)
parentb0509bf8f0c437e4693d7f7e5dce99cec78ce15f (diff)
Merge pull request #1087 from adolson/connect-fix
change parameter name from ip to port
Diffstat (limited to 'core')
-rw-r--r--core/io/stream_peer_tcp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/stream_peer_tcp.cpp b/core/io/stream_peer_tcp.cpp
index 0e75e22767..f83c174084 100644
--- a/core/io/stream_peer_tcp.cpp
+++ b/core/io/stream_peer_tcp.cpp
@@ -32,7 +32,7 @@ StreamPeerTCP* (*StreamPeerTCP::_create)()=NULL;
void StreamPeerTCP::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("connect","host","ip"),&StreamPeerTCP::connect);
+ ObjectTypeDB::bind_method(_MD("connect","host","port"),&StreamPeerTCP::connect);
ObjectTypeDB::bind_method(_MD("is_connected"),&StreamPeerTCP::is_connected);
ObjectTypeDB::bind_method(_MD("get_status"),&StreamPeerTCP::get_status);
ObjectTypeDB::bind_method(_MD("get_connected_host"),&StreamPeerTCP::get_connected_host);