lib/ffi/hiredis_vip/mget.rb in ffi-hiredis_vip-0.1.0.pre1 vs lib/ffi/hiredis_vip/mget.rb in ffi-hiredis_vip-0.1.0.pre2
- old
+ new
@@ -14,10 +14,10 @@
command << " %b"
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?
# TODO: more error checking here? what is correct response on nothing?