Fix syntax errors in other/websockify.rb

This commit is contained in:
dellsystem
2013-10-21 20:59:15 -04:00
parent 0e5c3ecfda
commit 82fe329129
+2 -2
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