[Fingerforce-commits] [fprintd] 08/12: tests: Fix listing/deleting with more than one reader
Didier Raboud
odyx at moszumanska.debian.org
Sun Apr 12 13:12:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch master
in repository fprintd.
commit 56683b109866fa0a8df46b68b3d52ff3a536d14c
Author: Bastien Nocera <hadess at hadess.net>
Date: Tue Feb 3 16:42:29 2015 +0100
tests: Fix listing/deleting with more than one reader
We were always reading the information for reader 0.
---
tests/delete.c | 2 +-
tests/list.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/delete.c b/tests/delete.c
index bf3336c..b72d3ca 100644
--- a/tests/delete.c
+++ b/tests/delete.c
@@ -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?? */
diff --git a/tests/list.c b/tests/list.c
index a7f2f48..9f5285e 100644
--- a/tests/list.c
+++ b/tests/list.c
@@ -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?? */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/fingerforce/fprintd.git
More information about the Fingerforce-commits
mailing list