1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-04-07 01:42:18 +00:00
parent c73c876d54
commit 672490d08c
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Apr 7 10:41:30 2013 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.
Sun Apr 7 03:24:36 2013 NARUSE, Yui <naruse@ruby-lang.org>
* addr2line.c: use more generic type:

View file

@ -831,7 +831,6 @@ class Resolv
class MDNSOneShot < UnconnectedUDP # :nodoc:
def sender(msg, data, host, port=Port)
service = [host, port]
id = DNS.allocate_request_id(host, port)
request = msg.encode
request[0,2] = [id].pack('n')