Fix typo
This commit is contained in:
1 parent
b710babed6
commit
452121209b
2 files changed
+2
-2
No files matched your search
@@ -6,7 +6,7 @@ module Proxifier
|
||||
def open(host, port, local_host = nil, local_port = nil)
|
||||
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
|
||||
proxify(socket, host, port)
|
||||
|
||||
@@ -23,7 +23,7 @@ module Proxifier
|
||||
def open(host, port, local_host = nil, local_port = nil)
|
||||
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
|
||||
proxify(socket, host, port)
|
||||
|
||||
Reference in new issue
Block a user