зеркало из https://github.com/github/ruby.git
* 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:
Родитель
c73c876d54
Коммит
672490d08c
|
@ -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>
|
Sun Apr 7 03:24:36 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* addr2line.c: use more generic type:
|
* addr2line.c: use more generic type:
|
||||||
|
|
|
@ -831,7 +831,6 @@ class Resolv
|
||||||
|
|
||||||
class MDNSOneShot < UnconnectedUDP # :nodoc:
|
class MDNSOneShot < UnconnectedUDP # :nodoc:
|
||||||
def sender(msg, data, host, port=Port)
|
def sender(msg, data, host, port=Port)
|
||||||
service = [host, port]
|
|
||||||
id = DNS.allocate_request_id(host, port)
|
id = DNS.allocate_request_id(host, port)
|
||||||
request = msg.encode
|
request = msg.encode
|
||||||
request[0,2] = [id].pack('n')
|
request[0,2] = [id].pack('n')
|
||||||
|
|
Загрузка…
Ссылка в новой задаче