tests: Fix listing/deleting with more than one reader

We were always reading the information for reader 0.
This commit is contained in:
Bastien Nocera
2015-02-03 16:42:29 +01:00
parent f7c51b0d58
commit 56683b1098
2 changed files with 2 additions and 2 deletions

View File

@ -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?? */

View File

@ -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?? */