From 56918578ea48ef3bc6a5f27f884fb2cccbe02c06 Mon Sep 17 00:00:00 2001 From: Masaki Matsushita Date: Fri, 11 Dec 2020 11:13:13 +0900 Subject: [PATCH] Remove unimplemented parameter from comment :resolv_timeout of TCPSocket.new is not implemented for now. --- ext/socket/tcpsocket.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/socket/tcpsocket.c b/ext/socket/tcpsocket.c index 4bd6f87406..51e77a0de9 100644 --- a/ext/socket/tcpsocket.c +++ b/ext/socket/tcpsocket.c @@ -12,13 +12,12 @@ /* * call-seq: - * TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil, resolv_timeout: nil, connect_timeout: nil) + * TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil, connect_timeout: nil) * * Opens a TCP connection to +remote_host+ on +remote_port+. If +local_host+ * and +local_port+ are specified, then those parameters are used on the local * end to establish the connection. * - * [:resolv_timeout] specify the name resolution timeout in seconds. * [:connect_timeout] specify the timeout in seconds. */ static VALUE