summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-16 15:44:47 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-16 15:44:47 +0000
commitcb23f749f6397b13024b71c034462d3a24488784 (patch)
treed58415944717912cf1f1a16c27f8e6d39e4459e4 /lib
parentf176c08f0489bef97d95620a95fef58a6614de97 (diff)
lib/rinda/ring.rb (do_reply): Fix for RingServer fails to find a
TupleSpace when TupleSpace resides in the same ruby process with RingServer. a patch from Kent Sibilev. [ruby-core:08453] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rinda/ring.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb
index 5b2d412451..ac8a716216 100644
--- a/lib/rinda/ring.rb
+++ b/lib/rinda/ring.rb
@@ -80,7 +80,7 @@ module Rinda
# address of the local TupleSpace.
def do_reply
- tuple = @ts.take([:lookup_ring, DRbObject])
+ tuple = @ts.take([:lookup_ring, nil])
Thread.new { tuple[1].call(@ts) rescue nil}
rescue
end