diff options
Diffstat (limited to 'sample/svr.rb')
-rw-r--r-- | sample/svr.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/svr.rb b/sample/svr.rb index 460c16bedf..14aded8c3f 100644 --- a/sample/svr.rb +++ b/sample/svr.rb @@ -11,7 +11,7 @@ socks = [gs] while TRUE nsock = select(socks); - if nsock == nil; continue end + next if nsock == nil for s in nsock[0] if s == gs ns = s.accept |