db/upnp: remove unused method setMaxContentLength()
This commit is contained in:
		| @@ -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) | ||||
| { | ||||
|   | ||||
| @@ -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 | ||||
| 	{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann