summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-04 18:53:26 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-04 18:53:26 +0000
commit6776688a2d08cf129a331f4ca6750279a4cba8b0 (patch)
tree5b26879a1fafe335cb70991cd25fa2f9c08a268b /lib
parent898a1e71970ea6858c9eed7efe9f0223d92d6b90 (diff)
use recv instead of recvfrom
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6247 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 7152dfb..bc95203 100644
--- a/lib/rinda/ring.rb
+++ b/lib/rinda/ring.rb
@@ -21,7 +21,7 @@ module Rinda
def write_service
Thread.new do
loop do
- msg, addr = @soc.recvfrom(1024)
+ msg = @soc.recv(1024)
do_write(msg)
end
end