From aa8440cd2bb815daca9b39d6e5f4714edab2ddf8 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 21 Jan 2019 16:47:05 -0200 Subject: [PATCH] Adding more g_messages about the configuration file used. --- src/pw3270/common/config.c | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/src/pw3270/common/config.c b/src/pw3270/common/config.c index 24048ce..53f085a 100644 --- a/src/pw3270/common/config.c +++ b/src/pw3270/common/config.c @@ -229,6 +229,9 @@ if(g_file_test(filename,G_FILE_TEST_IS_REGULAR)) return filename; + + g_message("Can't find default config (%s)",filename); + g_free(filename); } @@ -263,6 +266,7 @@ // // Can't find, use user config dir // + g_message("No config, defaulting to %s/%s",g_get_user_config_dir(),name); return g_build_filename(g_get_user_config_dir(),name,NULL); } -- libgit2 0.21.2