From 7cd0f94a1d8d8657dd9326fa8501d9510850be95 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Tue, 21 Oct 2008 03:02:07 +0000 Subject: [PATCH] Avoid passing pointer into log configurator. --- xmltooling/XMLToolingConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmltooling/XMLToolingConfig.cpp b/xmltooling/XMLToolingConfig.cpp index 59dd7ce..d36d746 100644 --- a/xmltooling/XMLToolingConfig.cpp +++ b/xmltooling/XMLToolingConfig.cpp @@ -170,7 +170,7 @@ bool XMLToolingInternalConfig::log_config(const char* config) } else { string path(config); - PropertyConfigurator::configure(m_pathResolver ? m_pathResolver->resolve(path, PathResolver::XMLTOOLING_CFG_FILE).c_str() : config); + PropertyConfigurator::configure(m_pathResolver ? m_pathResolver->resolve(path, PathResolver::XMLTOOLING_CFG_FILE) : path); } } catch (const ConfigureFailure& e) { -- 2.1.4