From 4cfa6b5b37dfbf504a8c3cf79102e263af84bada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 17 Dec 2020 03:17:08 +0100 Subject: [PATCH] file_storage: Remove debug leftovers and add actual debug statements --- src/file_storage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file_storage.c b/src/file_storage.c index 57a15f8..47fb222 100644 --- a/src/file_storage.c +++ b/src/file_storage.c @@ -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) {