lib/ffi/hiredis_vip/persist.rb in ffi-hiredis_vip-0.1.0.pre1 vs lib/ffi/hiredis_vip/persist.rb in ffi-hiredis_vip-0.1.0.pre2

- old
+ new

@@ -8,10 +8,10 @@ def persist(key) reply = nil command = "PERSIST %b" command_args = [ :string, key, :size_t, key.size ] 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]