summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2013-05-05 22:13:07 +0200
committermethodus <methodus@web.de>2013-05-05 22:13:07 +0200
commita224f8e589038ba17c6c80f1f07656642a4f057a (patch)
tree8a14aeada71a507b436ebe90753aa230d0b167e7 /server
parent001751f2d9ec3e13f5c4c36e8361ce1e4db43871 (diff)
downloadvdr-plugin-upnp-a224f8e589038ba17c6c80f1f07656642a4f057a.tar.gz
vdr-plugin-upnp-a224f8e589038ba17c6c80f1f07656642a4f057a.tar.bz2
Fixed compile error
Diffstat (limited to 'server')
-rw-r--r--server/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/server.cpp b/server/server.cpp
index 61e723a..28895ac 100644
--- a/server/server.cpp
+++ b/server/server.cpp
@@ -248,8 +248,8 @@ bool cMediaServer::Initialize(){
}
- ss.str();
- ss << "sqlite:" << mCurrentConfiguration.databaseDir.empty() << "/metadata.db";
+ ss.str(string());
+ ss << "sqlite:" << mCurrentConfiguration.databaseDir << "/metadata.db";
try {
mConnection = tntdb::connect(ss.str());
} catch (const std::exception& e) {