summaryrefslogtreecommitdiff
path: root/server/server.cpp
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-09-19 02:18:06 +0200
committermethodus <methodus@web.de>2012-09-19 02:18:06 +0200
commit44b0ce921d619efe1b4f871603632014295e50af (patch)
tree489ce2a0ff222aea3af45c8a13fe61a7861af73c /server/server.cpp
parentf2502b0723f10c87d515866b2135251583e588ad (diff)
downloadvdr-plugin-upnp-44b0ce921d619efe1b4f871603632014295e50af.tar.gz
vdr-plugin-upnp-44b0ce921d619efe1b4f871603632014295e50af.tar.bz2
Fixed check for device udn and continued work on browsing.
Diffstat (limited to 'server/server.cpp')
-rw-r--r--server/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.cpp b/server/server.cpp
index 9858029..32c584d 100644
--- a/server/server.cpp
+++ b/server/server.cpp
@@ -314,7 +314,7 @@ const char* cMediaServer::RuntimeException::what() const throw() {
}
bool cMediaServer::CheckDeviceUUID(string deviceUUID) const {
- return deviceUUID.compare(mCurrentConfiguration.deviceUUID) == 0;
+ return deviceUUID.find(mCurrentConfiguration.deviceUUID) != string::npos;
}
cMediaServer::Description::Description(