diff options
author | Masaki Matsushita <glass.saga@gmail.com> | 2020-12-29 15:40:08 +0900 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2021-01-24 18:33:20 +0900 |
commit | 21340303c2007117ba39a7012eb6ea609b946704 (patch) | |
tree | 2df59dba55f7721e7881736cbaf5617b84fa697d /ext | |
parent | 1ce4e90dc748057339bd0a5523d23c7619f5a12c (diff) |
Fix compile error of sockssocket
The patch is provided by PhobosK (Phobos Kappa).
This should be backported to Ruby 3.0.
[Feature #17187]
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/sockssocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/sockssocket.c b/ext/socket/sockssocket.c index 78b0055ccc..b8b7e12998 100644 --- a/ext/socket/sockssocket.c +++ b/ext/socket/sockssocket.c @@ -34,7 +34,7 @@ socks_init(VALUE sock, VALUE host, VALUE port) init = 1; } - return rsock_init_inetsock(sock, host, port, Qnil, Qnil, INET_SOCKS, Qnil); + return rsock_init_inetsock(sock, host, port, Qnil, Qnil, INET_SOCKS, Qnil, Qnil); } #ifdef SOCKS5 |