|
a/src/mediaserver/contentdirectory.cxx |
|
b/src/mediaserver/contentdirectory.cxx |
|
... |
|
... |
533 |
bool ContentDirectory::config_get(const string& nm, string& val)
|
533 |
bool ContentDirectory::config_get(const string& nm, string& val)
|
534 |
{
|
534 |
{
|
535 |
if (nullptr == g_config) {
|
535 |
if (nullptr == g_config) {
|
536 |
return false;
|
536 |
return false;
|
537 |
}
|
537 |
}
|
538 |
std::unique_lock<std::mutex>(g_configlock);
|
|
|
539 |
return g_config->get(nm, val);
|
538 |
return g_config->get(nm, val);
|
540 |
}
|
539 |
}
|
541 |
|
540 |
|
542 |
std::string ContentDirectory::getfname()
|
541 |
std::string ContentDirectory::getfname()
|
543 |
{
|
542 |
{
|