summaryrefslogtreecommitdiff
path: root/src/lib/config.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-23 12:09:39 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-23 12:09:39 +0100
commit268d6fe969b4b85e4934685c19e934ab73fe4357 (patch)
tree23a8988e047e84c1515222b54a49aa943e112ce3 /src/lib/config.cc
parent718ece464db6bfbffdf8f82a9c4df9ae71ba795a (diff)
More debugging.
Diffstat (limited to 'src/lib/config.cc')
-rw-r--r--src/lib/config.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index bd17dcbcf..0572f4dd3 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -290,8 +290,11 @@ void
Config::read_config()
try
{
+ std::cout << "=> Config::read_config()\n";
+ std::cout << "config_read_file()=" << config_read_file() << "\n";
cxml::Document f ("Config");
f.read_file(config_read_file());
+ std::cout << "back from read_file\n";
auto version = f.optional_number_child<int> ("Version");
if (version && *version < _current_version) {
@@ -1449,6 +1452,7 @@ config_file (boost::filesystem::path main)
cxml::Document f ("Config");
if (!dcp::filesystem::exists(main)) {
/* It doesn't exist, so there can't be any links; just return it */
+ std::cout << main << " doesn't exist.\n";
return main;
}