db/upnp/Discovery: don't copy the response body
Bloat.
This commit is contained in:
@@ -71,10 +71,9 @@ UPnPDeviceDirectory::discoExplorer()
|
|||||||
if (code != UPNP_E_SUCCESS) {
|
if (code != UPNP_E_SUCCESS) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
std::string sdesc(buf);
|
|
||||||
|
|
||||||
// Update or insert the device
|
// Update or insert the device
|
||||||
ContentDirectoryDescriptor d(tsk->url, sdesc,
|
ContentDirectoryDescriptor d(tsk->url, buf,
|
||||||
time(0), tsk->expires);
|
time(0), tsk->expires);
|
||||||
if (!d.device.ok) {
|
if (!d.device.ok) {
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user