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;