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 1c0104cc40..91faa56dd8 100644 --- a/sample/svr.rb +++ b/sample/svr.rb @@ -5,7 +5,7 @@ gs = TCPserver.open(0) printf("server port is on %d\n", gs.port) socks = [gs] -while %TRUE +while TRUE nsock = select(socks); if nsock == nil; continue end for s in nsock[0] |