lib/ffi/hiredis_vip/touch.rb in ffi-hiredis_vip-0.1.0.pre2 vs lib/ffi/hiredis_vip/touch.rb in ffi-hiredis_vip-0.1.0.pre3

- old
+ new

@@ -10,10 +10,10 @@ keys = keys.flatten number_of_touches = keys.size command = "TOUCH#{' %b' * number_of_touches}" command_args = [] keys.each do |key| - command_args << :string << key << :size_t << key.size + command_args << :pointer << key << :size_t << key.size end synchronize do |connection| reply = @client.execute_command(connection, command, *command_args) end