mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
device: Load the current finger print and not always the first print
In the garbage collection code we always ended up to load the first enrolled print, and this may lead to removing from device storage prints that are actually in use.
This commit is contained in:
committed by
Benjamin Berg
parent
ab8dcfaa61
commit
b9cdb58a1a
@ -1471,7 +1471,7 @@ try_delete_print (FprintDevice *rdev)
|
||||
guint index;
|
||||
|
||||
store.print_data_load (priv->dev,
|
||||
GPOINTER_TO_UINT (fingers->data),
|
||||
GPOINTER_TO_UINT (finger->data),
|
||||
username,
|
||||
&print);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user