mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
examples/storage: Clear storage per device
We used to clear the whole storage file, but this has to be done per-device, not globally
This commit is contained in:
@@ -87,7 +87,7 @@ on_clear_storage_completed (FpDevice *dev, GAsyncResult *res, void *user_data)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!clear_saved_prints (&error))
|
||||
if (!clear_saved_prints (dev, &error))
|
||||
{
|
||||
g_warning ("Clear saved prints from local storage failed: %s",
|
||||
error->message);
|
||||
|
||||
Reference in New Issue
Block a user