summaryrefslogtreecommitdiff
path: root/ext/dl/win32
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/win32')
-rw-r--r--ext/dl/win32/lib/win32/resolv.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dl/win32/lib/win32/resolv.rb b/ext/dl/win32/lib/win32/resolv.rb
index cefec61caa8..beb7f40ca40 100644
--- a/ext/dl/win32/lib/win32/resolv.rb
+++ b/ext/dl/win32/lib/win32/resolv.rb
@@ -82,9 +82,9 @@ if info.unpack('V5')[4] == 2 # VER_PLATFORM_WIN32_NT
end
end
- reg.open('Interfaces') do |reg|
- reg.each_key do |iface,|
- reg.open(iface) do |regif|
+ reg.open('Interfaces') do |h|
+ h.each_key do |iface,|
+ h.open(iface) do |regif|
begin
[ 'NameServer', 'DhcpNameServer' ].each do |key|
begin