summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-12-10 14:15:35 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-12-10 14:15:35 +0900
commit3ca3c8d768f6d81da72df4798736c2e0059d19f9 (patch)
treede791d0a516cb0e4fb6038b74fabbb7dcda9129e
parent7be550d046c726c2a3aa625ceb260d9b2268fb5a (diff)
lib/net/http.rb: align the indentation
-rw-r--r--lib/net/http.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 55794aeea94..a62f59af8f9 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -948,10 +948,10 @@ module Net #:nodoc:
def connect
if proxy? then
conn_addr = proxy_address
- conn_port = proxy_port
+ conn_port = proxy_port
else
conn_addr = conn_address
- conn_port = port
+ conn_port = port
end
D "opening connection to #{conn_addr}:#{conn_port}..."