mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-02-04 20:00:36 +01:00
file_storage: Remove debug leftovers and add actual debug statements
This commit is contained in:
parent
c685f0d34c
commit
4cfa6b5b37
1 changed files with 2 additions and 2 deletions
|
|
@ -155,7 +155,6 @@ file_storage_print_data_save (FpPrint *print)
|
|||
return r;
|
||||
}
|
||||
|
||||
//fp_dbg("saving to %s", path);
|
||||
g_file_set_contents (path, buf, len, &err);
|
||||
if (err)
|
||||
{
|
||||
|
|
@ -165,6 +164,8 @@ file_storage_print_data_save (FpPrint *print)
|
|||
return err->code;
|
||||
}
|
||||
|
||||
g_debug ("file_storage_print_data_save(): print saved to %s", path);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -176,7 +177,6 @@ load_from_file (char *path, FpPrint **print)
|
|||
g_autofree char *contents = NULL;
|
||||
FpPrint *new;
|
||||
|
||||
//fp_dbg("from %s", path);
|
||||
g_file_get_contents (path, &contents, &length, &err);
|
||||
if (err)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue