summaryrefslogtreecommitdiff
path: root/sample/svr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/svr.rb')
-rw-r--r--sample/svr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/svr.rb b/sample/svr.rb
index 1c0104c..91faa56 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]