lib/ffi/hiredis_vip/sscan.rb in ffi-hiredis_vip-0.1.0.pre1 vs lib/ffi/hiredis_vip/sscan.rb in ffi-hiredis_vip-0.1.0.pre2
- old
+ new
@@ -21,10 +21,10 @@
command << " COUNT %b"
command_args << :string << count << :size_t << count.size
end
synchronize do |connection|
- reply = ::FFI::HiredisVip::Core.command(connection, command, *command_args)
+ reply = @client.execute_command(connection, command, *command_args)
end
return nil if reply.nil? || reply.null?
# TODO: more error checking here?