diff options
author | dellsystem <ilostwaldo@gmail.com> | 2013-10-21 20:59:15 -0400 |
---|---|---|
committer | dellsystem <ilostwaldo@gmail.com> | 2013-10-21 20:59:16 -0400 |
commit | 82fe32912916884905d0577e34abf13ea7ff427b (patch) | |
tree | 00caadb0da40ce68b64e1232ca7875656a81cbca | |
parent | 0e5c3ecfda3b1506b41412052db75d84df2b4ae7 (diff) | |
download | websockify-82fe32912916884905d0577e34abf13ea7ff427b.tar.gz |
Fix syntax errors in other/websockify.rb
-rwxr-xr-x | other/websockify.rb | 4 |
1 files 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 |