diff options
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r-- | ext/socket/socket.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index a2bf61009b..1e3611394d 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -895,16 +895,11 @@ tcp_s_open(argc, argv, class) &local_host, &local_serv); Check_SafeStr(remote_host); - if (!NIL_P(local_host)) { Check_SafeStr(local_host); } - if (NIL_P(local_serv)) { - local_serv = INT2NUM(0); - } - return open_inet(class, remote_host, remote_serv, local_host, local_serv, INET_CLIENT); } |