From a8c748d2773b6ce5d871360ee36f7d214ae1af11 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 16 Apr 2007 13:53:09 +0000 Subject: * sample: replace TRUE, FALSE with true, false respectively. a patch from Kazuhiro NISHIYAMA . [ruby-dev:30713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/dualstack-httpd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample/dualstack-httpd.rb') 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" -- cgit v1.2.3