Fix typo
This commit is contained in:
parent
b710babed6
commit
452121209b
|
@ -6,7 +6,7 @@ module Proxifier
|
||||||
def open(host, port, local_host = nil, local_port = nil)
|
def open(host, port, local_host = nil, local_port = nil)
|
||||||
return TCPSocket.new(host, port, local_host, local_port, :proxy => nil) unless proxify?(host)
|
return TCPSocket.new(host, port, local_host, local_port, :proxy => nil) unless proxify?(host)
|
||||||
|
|
||||||
socket = TCPSocket.new(proxy.host, proxy.port, local_host, local_port, :proxy => nil)
|
socket = TCPSocket.new(self.host, self.port, local_host, local_port, :proxy => nil)
|
||||||
|
|
||||||
begin
|
begin
|
||||||
proxify(socket, host, port)
|
proxify(socket, host, port)
|
||||||
|
|
|
@ -23,7 +23,7 @@ module Proxifier
|
||||||
def open(host, port, local_host = nil, local_port = nil)
|
def open(host, port, local_host = nil, local_port = nil)
|
||||||
return TCPSocket.new(host, port, local_host, local_port) unless proxify?(host)
|
return TCPSocket.new(host, port, local_host, local_port) unless proxify?(host)
|
||||||
|
|
||||||
socket = TCPSocket.new(proxy.host, proxy.port, local_host, local_port)
|
socket = TCPSocket.new(self.host, self.port, local_host, local_port)
|
||||||
|
|
||||||
begin
|
begin
|
||||||
proxify(socket, host, port)
|
proxify(socket, host, port)
|
||||||
|
|
Loading…
Reference in New Issue