summaryrefslogtreecommitdiff
path: root/sample/dualstack-httpd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/dualstack-httpd.rb')
-rw-r--r--sample/dualstack-httpd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/dualstack-httpd.rb b/sample/dualstack-httpd.rb
index 893b29feba..69e3181863 100644
--- a/sample/dualstack-httpd.rb
+++ b/sample/dualstack-httpd.rb
@@ -26,7 +26,7 @@ end
ls = mysock # copy to dynamic variable
t = Thread.current
STDERR.print "socket #{myname} listener started, pid #{$$} thread #{t}\n"
- while TRUE
+ while true
as = ls.accept
Thread.start do
STDERR.print "socket #{myname} accepted, thread ", Thread.current, "\n"