From e9ba5fcaf319654ce685cd329414fcf2591c9c95 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Jan 2014 23:04:50 +0100 Subject: db/upnp: remove unused method setMaxContentLength() --- src/db/upnp/upnpplib.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/db/upnp/upnpplib.cxx') 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) { -- cgit v1.2.3