aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/UpnpDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-10 22:42:02 +0100
committerMax Kellermann <max@duempel.org>2014-01-10 23:00:27 +0100
commit48097745f6d7afcfed09713c2f8827588eb7b9f3 (patch)
tree92543a95d1a7a45de3c4ffa175e65fc5f4a17fca /src/db/UpnpDatabasePlugin.cxx
parent1091ca969fb9611c219e6f186a71500ffbc74233 (diff)
downloadmpd-48097745f6d7afcfed09713c2f8827588eb7b9f3.tar.gz
mpd-48097745f6d7afcfed09713c2f8827588eb7b9f3.tar.xz
mpd-48097745f6d7afcfed09713c2f8827588eb7b9f3.zip
db/upnp: remove "upnplog" option
We have removed all libupnp logging calls, and we don't need to debug libupnp.
Diffstat (limited to '')
-rw-r--r--src/db/UpnpDatabasePlugin.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx
index a1b6519e0..ec86aa400 100644
--- a/src/db/UpnpDatabasePlugin.cxx
+++ b/src/db/UpnpDatabasePlugin.cxx
@@ -63,7 +63,6 @@ class UpnpDatabase : public Database {
LibUPnP *m_lib;
UPnPDeviceDirectory *m_superdir;
Directory *m_root;
- std::string m_upnplog;
public:
UpnpDatabase()
@@ -194,9 +193,8 @@ UpnpDatabase::Create(const config_param &param, Error &error)
}
bool
-UpnpDatabase::Configure(const config_param& param, Error&)
+UpnpDatabase::Configure(const config_param &, Error &)
{
- m_upnplog = param.GetBlockValue("upnplog", "");
return true;
}
@@ -225,9 +223,6 @@ bool UpnpDatabase::reallyOpen(Error &error)
if (!m_lib)
return false;
- if (!m_upnplog.empty()) {
- m_lib->setLogFileName(m_upnplog);
- }
m_superdir = UPnPDeviceDirectory::getTheDir();
if (!m_superdir || !m_superdir->ok()) {
error.Set(upnp_domain, "Discovery services startup failed");