From 647d1408343b5a14ee70984865535aa5d02019a4 Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Wed, 5 Mar 2008 22:15:32 +0200 Subject: [PATCH] Fixed fp_identify_finger_img didn't return result of operation Signed-off-by: Vasily Khoruzhick --- libfprint/sync.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfprint/sync.c b/libfprint/sync.c index 87c033a..61557eb 100644 --- a/libfprint/sync.c +++ b/libfprint/sync.c @@ -474,6 +474,7 @@ API_EXPORTED int fp_identify_finger_img(struct fp_dev *dev, else fp_img_free(idata->img); + r = idata->result; switch (idata->result) { case FP_VERIFY_NO_MATCH: fp_dbg("result: no match");