mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Suppress a warning in code for SOCKS5
This commit is contained in:
parent
1f976509a5
commit
4592d63739
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ socks_init(VALUE sock, VALUE host, VALUE port)
|
||||||
static int init = 0;
|
static int init = 0;
|
||||||
|
|
||||||
if (init == 0) {
|
if (init == 0) {
|
||||||
SOCKSinit("ruby");
|
char progname[] = "ruby";
|
||||||
|
SOCKSinit(progname);
|
||||||
init = 1;
|
init = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue