summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-29 22:40:41 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-29 22:40:41 +0000
commit1054b79609f3f468470ae022cea5445e58ed831b (patch)
treee858093e0e5550a3deac99b961cd058e6655c77b
parent72276eb06b7d16501bd32821befe9b7803a51302 (diff)
* ext/socket/lib/socket.rb (udp_server_sockets): unused variable
removed. patch by Jeremy Evans. [ruby-core:38600] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--ext/socket/lib/socket.rb2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c4c6084..06fd5d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Jul 30 07:20:49 2011 Tanaka Akira <akr@fsij.org>
+
+ * ext/socket/lib/socket.rb (udp_server_sockets): unused variable
+ removed.
+ patch by Jeremy Evans. [ruby-core:38600]
+
Fri Jul 29 23:56:32 2011 Tanaka Akira <akr@fsij.org>
* lib/securerandom.rb: call OpenSSL::Random.seed at the
diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb
index 8898b51..621a60c 100644
--- a/ext/socket/lib/socket.rb
+++ b/ext/socket/lib/socket.rb
@@ -541,12 +541,10 @@ class Socket < BasicSocket
end
end
- pktinfo_sockets = {}
sockets.each {|s|
ai = s.local_address
if ipv6_recvpktinfo && ai.ipv6? && ai.ip_address == "::"
s.setsockopt(:IPV6, ipv6_recvpktinfo, 1)
- pktinfo_sockets[s] = true
end
}