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 14aded8..c866407 100644
--- a/sample/svr.rb
+++ b/sample/svr.rb
@@ -18,7 +18,7 @@ while TRUE
socks.push(ns)
print(s, " is accepted\n")
else
- if s.eof
+ if s.eof?
print(s, " is gone\n")
s.close
socks.delete(s)