ruby-changes:64650
From: Masaki <ko1@a...>
Date: Tue, 29 Dec 2020 15:54:05 +0900 (JST)
Subject: [ruby-changes:64650] 1ffb267c5c (master): Fix compile error of sockssocket
https://git.ruby-lang.org/ruby.git/commit/?id=1ffb267c5c From 1ffb267c5c782ea15d01beb90d031274ca88cd8e Mon Sep 17 00:00:00 2001 From: Masaki Matsushita <glass.saga@g...> Date: Tue, 29 Dec 2020 15:40:08 +0900 Subject: Fix compile error of sockssocket The patch is provided by PhobosK (Phobos Kappa). This should be backported to Ruby 3.0. [Feature #17187] diff --git a/ext/socket/sockssocket.c b/ext/socket/sockssocket.c index 78b0055..b8b7e12 100644 --- a/ext/socket/sockssocket.c +++ b/ext/socket/sockssocket.c @@ -34,7 +34,7 @@ socks_init(VALUE sock, VALUE host, VALUE port) https://github.com/ruby/ruby/blob/trunk/ext/socket/sockssocket.c#L34 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/