Fixed.
authorDaiki Ueno <ueno@unixuser.org>
Thu, 11 Aug 2005 03:54:54 +0000 (03:54 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Thu, 11 Aug 2005 03:54:54 +0000 (03:54 +0000)
lisp/rubyserv.rb

index 5fa85de..cc29694 100644 (file)
@@ -60,7 +60,7 @@ class RubyServ
   end
 
   def dispatch_eval(c, r)
-    r = deq_data unless r
+    r = deq_data if r.empty?
     name = nil
     Thread.exclusive do
       while @thr.include?(name = @cnt.to_s)