Commit 56683b10 authored by Bastien Nocera's avatar Bastien Nocera

tests: Fix listing/deleting with more than one reader

We were always reading the information for reader 0.
parent f7c51b0d
......@@ -95,7 +95,7 @@ static void process_devices(char **argv)
guint j;
DBusGProxy *dev;
path = g_ptr_array_index(devices, 0);
path = g_ptr_array_index(devices, i);
g_print("Using device %s\n", path);
/* FIXME use for_name_owner?? */
......
......@@ -111,7 +111,7 @@ static void process_devices(char **argv)
guint j;
DBusGProxy *dev;
path = g_ptr_array_index(devices, 0);
path = g_ptr_array_index(devices, i);
g_print("Using device %s\n", path);
/* FIXME use for_name_owner?? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment