aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/UpnpDatabasePlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/plugins/UpnpDatabasePlugin.cxx')
-rw-r--r--src/db/plugins/UpnpDatabasePlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/plugins/UpnpDatabasePlugin.cxx b/src/db/plugins/UpnpDatabasePlugin.cxx
index 8861359ce..ac2055f7d 100644
--- a/src/db/plugins/UpnpDatabasePlugin.cxx
+++ b/src/db/plugins/UpnpDatabasePlugin.cxx
@@ -182,7 +182,7 @@ UpnpDatabase::Open(Error &error)
return false;
}
- discovery = new UPnPDeviceDirectory(lib);
+ discovery = new UPnPDeviceDirectory(lib->getclh());
if (!discovery->Start(error)) {
delete discovery;
delete lib;