From 1ffb267c5c782ea15d01beb90d031274ca88cd8e Mon Sep 17 00:00:00 2001 From: Masaki Matsushita Date: Tue, 29 Dec 2020 15:40:08 +0900 Subject: [PATCH] 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 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