mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix typo of 54072e329c
This commit is contained in:
parent
54072e329c
commit
c2dc27d643
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ module Net #:nodoc:
|
|||
p_addr = :ENV if arg.size < 2
|
||||
port = https_default_port if !port && opt && opt[:use_ssl]
|
||||
http = new(address, port, p_addr, p_port, p_user, p_pass)
|
||||
http.ipaddr = opt[:ipaddr] if opt[:ipaddr]
|
||||
http.ipaddr = opt[:ipaddr] if opt && opt[:ipaddr]
|
||||
|
||||
if opt
|
||||
if opt[:use_ssl]
|
||||
|
|
Loading…
Reference in a new issue