lib/ffi/hiredis_vip/touch.rb in ffi-hiredis_vip-0.1.0.pre1 vs lib/ffi/hiredis_vip/touch.rb in ffi-hiredis_vip-0.1.0.pre2
- old
+ new
@@ -14,10 +14,10 @@
keys.each do |key|
command_args << :string << key << :size_t << key.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?
case reply[:type]