Merge commit '32b0567343aee7753b2b6be1bc1ee9a69657ba26'
* commit '32b0567343aee7753b2b6be1bc1ee9a69657ba26': Fix syntax errors in other/websockify.rb
This commit is contained in:
commit
3b802c08b7
|
|
@ -92,7 +92,7 @@ Traffic Legend:
|
|||
# Receive target data and queue for the client
|
||||
if ins && ins.include?(target)
|
||||
buf = target.recv(@@Buffer_size)
|
||||
if buf.length == 0:
|
||||
if buf.length == 0
|
||||
raise EClose, "Target closed"
|
||||
end
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ parser = OptionParser.new do |o|
|
|||
o.parse!
|
||||
end
|
||||
|
||||
if ARGV.length < 2:
|
||||
if ARGV.length < 2
|
||||
puts "Too few arguments"
|
||||
exit 2
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue