From: Scott Cantor Date: Tue, 21 Oct 2008 03:02:07 +0000 (+0000) Subject: Avoid passing pointer into log configurator. X-Git-Tag: 1.2.0~61 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=7cd0f94a1d8d8657dd9326fa8501d9510850be95 Avoid passing pointer into log configurator. --- 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) {