summaryrefslogtreecommitdiff
path: root/server/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.cpp')
-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) {