aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2018-02-24 14:54:42 +0100
committerAokromes <aokromes@gmail.com>2018-12-30 18:10:11 +0100
commit8488150dee5820caa1b3e8f59a3e8c7c5dd5788c (patch)
tree925c889c45fd1d0b2a8d0f6cf2610ffe2472f46b
parentd2b77ca075e43eee5937e486a811e356b68e8418 (diff)
Core/DBUpdater: Code cleanup
-rw-r--r--src/server/database/Updater/DBUpdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp
index 32e8fd0371e..4ce611bf3f6 100644
--- a/src/server/database/Updater/DBUpdater.cpp
+++ b/src/server/database/Updater/DBUpdater.cpp
@@ -315,7 +315,7 @@ bool DBUpdater<T>::Populate(DatabaseWorkerPool<T>& pool)
case LOCATION_DOWNLOAD:
{
std::string const filename = base.filename().generic_string();
- std::string const workdir = boost::filesystem::current_path().generic_string().c_str();
+ std::string const workdir = boost::filesystem::current_path().generic_string();
TC_LOG_ERROR("sql.updates", ">> File \"%s\" is missing, download it from \"https://github.com/TrinityCore/TrinityCore/releases\"" \
" uncompress it and place the file \"%s\" in the directory \"%s\".", filename.c_str(), filename.c_str(), workdir.c_str());
break;