Merge commit '32b0567343aee7753b2b6be1bc1ee9a69657ba26'

* commit '32b0567343aee7753b2b6be1bc1ee9a69657ba26':
  Fix syntax errors in other/websockify.rb
This commit is contained in:
Peter Åstrand (astrand) 2013-11-28 09:07:52 +01:00
commit 3b802c08b7
1 changed files with 2 additions and 2 deletions

View File

@ -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