aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-10 23:04:50 +0100
committerMax Kellermann <max@duempel.org>2014-01-10 23:04:50 +0100
commite9ba5fcaf319654ce685cd329414fcf2591c9c95 (patch)
tree945195b2dd63d88a029039eb12ead7789805448f /src/db
parent48097745f6d7afcfed09713c2f8827588eb7b9f3 (diff)
downloadmpd-e9ba5fcaf319654ce685cd329414fcf2591c9c95.tar.gz
mpd-e9ba5fcaf319654ce685cd329414fcf2591c9c95.tar.xz
mpd-e9ba5fcaf319654ce685cd329414fcf2591c9c95.zip
db/upnp: remove unused method setMaxContentLength()
Diffstat (limited to 'src/db')
-rw-r--r--src/db/upnp/upnpplib.cxx7
-rw-r--r--src/db/upnp/upnpplib.hxx4
2 files changed, 1 insertions, 10 deletions
diff --git a/src/db/upnp/upnpplib.cxx b/src/db/upnp/upnpplib.cxx
index c2db88d8f..7d4160f47 100644
--- a/src/db/upnp/upnpplib.cxx
+++ b/src/db/upnp/upnpplib.cxx
@@ -51,7 +51,7 @@ LibUPnP::LibUPnP()
return;
}
- setMaxContentLength(2000*1024);
+ UpnpSetMaxContentLength(2000*1024);
code = UpnpRegisterClient(o_callback, (void *)this, &m_clh);
if (code != UPNP_E_SUCCESS) {
@@ -65,11 +65,6 @@ LibUPnP::LibUPnP()
ixmlRelaxParser(1);
}
-void LibUPnP::setMaxContentLength(int bytes)
-{
- UpnpSetMaxContentLength(bytes);
-}
-
void
LibUPnP::registerHandler(Upnp_EventType et, Upnp_FunPtr handler, void *cookie)
{
diff --git a/src/db/upnp/upnpplib.hxx b/src/db/upnp/upnpplib.hxx
index b91441ec6..6fd997c31 100644
--- a/src/db/upnp/upnpplib.hxx
+++ b/src/db/upnp/upnpplib.hxx
@@ -56,10 +56,6 @@ public:
/** Retrieve the singleton LibUPnP object */
static LibUPnP *getLibUPnP(Error &error);
- /** Set max library buffer size for reading content from servers.
- * The default is 200k and should be ok */
- void setMaxContentLength(int bytes);
-
/** Check state after initialization */
bool ok() const
{