Merge pull request #103 from dellsystem/master

Fix syntax errors in other/websockify.rb
This commit is contained in:
Solly 2013-10-21 18:29:45 -07:00
commit 32b0567343
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