Suppress a warning in code for SOCKS5

This commit is contained in:
Nobuyoshi Nakada 2025-07-03 21:44:08 +09:00
parent 1f976509a5
commit 4592d63739
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465

View file

@ -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;
} }