diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-13 00:55:32 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-13 00:55:32 +0000 |
commit | 654e94e1c976d675ac464e7edc1c1891a4a6b780 (patch) | |
tree | ca12cb101f677a511700eec59692db852f1b3eae /ext/socket | |
parent | c2cc750dd7ab1b9e4ef3c742f2f8e554736e5e58 (diff) | |
download | ruby-654e94e1c976d675ac464e7edc1c1891a4a6b780.tar.gz |
Commit miss in previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 098fd3a8c5..f608e6e434 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -5176,8 +5176,8 @@ addrinfo_ipv4_p(VALUE self) static VALUE addrinfo_ipv6_p(VALUE self) { - rb_addrinfo_t *rai = get_addrinfo(self); #ifdef AF_INET6 + rb_addrinfo_t *rai = get_addrinfo(self); return ai_get_afamily(rai) == AF_INET6 ? Qtrue : Qfalse; #else return Qfalse; |