From 82fe32912916884905d0577e34abf13ea7ff427b Mon Sep 17 00:00:00 2001 From: dellsystem Date: Mon, 21 Oct 2013 20:59:15 -0400 Subject: Fix syntax errors in other/websockify.rb --- other/websockify.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other/websockify.rb b/other/websockify.rb index bdc61f1..d6310f3 100755 --- a/other/websockify.rb +++ b/other/websockify.rb @@ -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 -- cgit v1.2.1