mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
file_storage: Remove debug leftovers and add actual debug statements
This commit is contained in:
committed by
Benjamin Berg
parent
c685f0d34c
commit
4cfa6b5b37
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user