mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
tests: Fix listing/deleting with more than one reader
We were always reading the information for reader 0.
This commit is contained in:
@ -95,7 +95,7 @@ static void process_devices(char **argv)
|
|||||||
guint j;
|
guint j;
|
||||||
DBusGProxy *dev;
|
DBusGProxy *dev;
|
||||||
|
|
||||||
path = g_ptr_array_index(devices, 0);
|
path = g_ptr_array_index(devices, i);
|
||||||
g_print("Using device %s\n", path);
|
g_print("Using device %s\n", path);
|
||||||
|
|
||||||
/* FIXME use for_name_owner?? */
|
/* FIXME use for_name_owner?? */
|
||||||
|
|||||||
@ -111,7 +111,7 @@ static void process_devices(char **argv)
|
|||||||
guint j;
|
guint j;
|
||||||
DBusGProxy *dev;
|
DBusGProxy *dev;
|
||||||
|
|
||||||
path = g_ptr_array_index(devices, 0);
|
path = g_ptr_array_index(devices, i);
|
||||||
g_print("Using device %s\n", path);
|
g_print("Using device %s\n", path);
|
||||||
|
|
||||||
/* FIXME use for_name_owner?? */
|
/* FIXME use for_name_owner?? */
|
||||||
|
|||||||
Reference in New Issue
Block a user