[前][次][番号順一覧][スレッド一覧]

ruby-changes:9942

From: duerst <ko1@a...>
Date: Tue, 13 Jan 2009 09:55:42 +0900 (JST)
Subject: [ruby-changes:9942] Ruby:r21483 (trunk): Commit miss in previous commit.

duerst	2009-01-13 09:55:32 +0900 (Tue, 13 Jan 2009)

  New Revision: 21483

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21483

  Log:
    Commit miss in previous commit.

  Modified files:
    trunk/ext/socket/socket.c

Index: ext/socket/socket.c
===================================================================
--- ext/socket/socket.c	(revision 21482)
+++ ext/socket/socket.c	(revision 21483)
@@ -5176,8 +5176,8 @@
 static VALUE
 addrinfo_ipv6_p(VALUE self)
 {
+#ifdef AF_INET6
     rb_addrinfo_t *rai = get_addrinfo(self);
-#ifdef AF_INET6
     return ai_get_afamily(rai) == AF_INET6 ? Qtrue : Qfalse;
 #else
     return Qfalse;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]