ruby-changes:65033
From: Masaki <ko1@a...>
Date: Sun, 24 Jan 2021 18:34:06 +0900 (JST)
Subject: [ruby-changes:65033] 21340303c2 (ruby_3_0): Fix compile error of sockssocket
https://git.ruby-lang.org/ruby.git/commit/?id=21340303c2 From 21340303c2007117ba39a7012eb6ea609b946704 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] --- ext/socket/sockssocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/