aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/db/upnp/Discovery.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/upnp/Discovery.cxx b/src/db/upnp/Discovery.cxx
index 89ece3dfd..b33dbd395 100644
--- a/src/db/upnp/Discovery.cxx
+++ b/src/db/upnp/Discovery.cxx
@@ -71,10 +71,9 @@ UPnPDeviceDirectory::discoExplorer()
if (code != UPNP_E_SUCCESS) {
continue;
}
- std::string sdesc(buf);
// Update or insert the device
- ContentDirectoryDescriptor d(tsk->url, sdesc,
+ ContentDirectoryDescriptor d(tsk->url, buf,
time(0), tsk->expires);
if (!d.device.ok) {
continue;