diff options
Diffstat (limited to 'ext/socket/unixsocket.c')
-rw-r--r-- | ext/socket/unixsocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c index 6bdaa94620..82893abcfe 100644 --- a/ext/socket/unixsocket.c +++ b/ext/socket/unixsocket.c @@ -472,9 +472,9 @@ static VALUE unix_s_socketpair(int argc, VALUE *argv, VALUE klass) { VALUE domain, type, protocol; - domain = INT2FIX(PF_UNIX); VALUE args[3]; + domain = INT2FIX(PF_UNIX); rb_scan_args(argc, argv, "02", &type, &protocol); if (argc == 0) type = INT2FIX(SOCK_STREAM); |