lib/dldinternet/Net/findmyips.rb in findmyips-1.0.1 vs lib/dldinternet/Net/findmyips.rb in findmyips-1.0.2
- old
+ new
@@ -43,10 +43,10 @@
return ip[0]
end
end
rescue Timeout::Error => e
#puts e.class.to_s+" "+e.message
- puts "No response from #{host}:#{port} within #{timo} seconds".light_red if report_progress
+ puts "No response from #{host}:#{port} within #{timeout} seconds".light_red if report_progress
tries += 1
raise StandardError.new("Max retries exceeded") if tries >= maxtries
end
end
end