Commit aa8440cd2bb815daca9b39d6e5f4714edab2ddf8
1 parent
4e9a506b
Exists in
master
and in
5 other branches
Adding more g_messages about the configuration file used.
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
src/pw3270/common/config.c
@@ -229,6 +229,9 @@ | @@ -229,6 +229,9 @@ | ||
229 | 229 | ||
230 | if(g_file_test(filename,G_FILE_TEST_IS_REGULAR)) | 230 | if(g_file_test(filename,G_FILE_TEST_IS_REGULAR)) |
231 | return filename; | 231 | return filename; |
232 | + | ||
233 | + g_message("Can't find default config (%s)",filename); | ||
234 | + | ||
232 | g_free(filename); | 235 | g_free(filename); |
233 | 236 | ||
234 | } | 237 | } |
@@ -263,6 +266,7 @@ | @@ -263,6 +266,7 @@ | ||
263 | // | 266 | // |
264 | // Can't find, use user config dir | 267 | // Can't find, use user config dir |
265 | // | 268 | // |
269 | + g_message("No config, defaulting to %s/%s",g_get_user_config_dir(),name); | ||
266 | return g_build_filename(g_get_user_config_dir(),name,NULL); | 270 | return g_build_filename(g_get_user_config_dir(),name,NULL); |
267 | 271 | ||
268 | } | 272 | } |