diff options
Diffstat (limited to 'ext/socket/sockssocket.c')
-rw-r--r-- | ext/socket/sockssocket.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ext/socket/sockssocket.c b/ext/socket/sockssocket.c index 640ddd2f4d..70a6b47562 100644 --- a/ext/socket/sockssocket.c +++ b/ext/socket/sockssocket.c @@ -10,20 +10,11 @@ #include "rubysocket.h" -#if defined(SOCKS) && !defined(SOCKS5) -static VALUE -socks_connect_blocking(void *data) -{ - struct connect_arg *arg = data; - return (VALUE)Rconnect(arg->fd, arg->sockaddr, arg->len); -} -#endif - #ifdef SOCKS static VALUE socks_init(VALUE sock, VALUE host, VALUE serv) { - static init = 0; + static int init = 0; if (init == 0) { SOCKSinit("ruby"); |