lib/dtas/unix_client.rb in dtas-0.11.0 vs lib/dtas/unix_client.rb in dtas-0.12.0
- old
+ new
@@ -39,8 +39,8 @@
def res_wait(timeout = nil)
IO.select([@to_io], nil, nil, timeout)
nr = @to_io.nread
nr > 0 or raise EOFError, "unexpected EOF from server"
- @to_io.recvmsg(nr, 0, 0)[0]
+ @to_io.recv(nr)
end
end