summaryrefslogtreecommitdiff
path: root/sample/dualstack-httpd.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-16 13:53:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-16 13:53:09 +0000
commita8c748d2773b6ce5d871360ee36f7d214ae1af11 (patch)
tree22a03c9fad82514629b36e146db6577fd969e512 /sample/dualstack-httpd.rb
parent380ea10dfaf431ab14b92edb7154ccd4cacd159f (diff)
* sample: replace TRUE, FALSE with true, false respectively.
a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>. [ruby-dev:30713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 893b29febaa..69e31818637 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"