aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2018-02-24 14:54:42 +0100
committerjackpoz <giacomopoz@gmail.com>2018-02-24 14:54:42 +0100
commit16b5f39de6295c541b7fb400aa8d63e8ba08b233 (patch)
treed1417f94cee2656237d8baf07bf7afb8d52345d9 /src
parent20a0d27b5bcbc2c3a334edef37f6a05e653ca401 (diff)
Core/DBUpdater: Code cleanup
Diffstat (limited to 'src')
-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 50bb08b4ccf..fb2b0dccc63 100644
--- a/src/server/database/Updater/DBUpdater.cpp
+++ b/src/server/database/Updater/DBUpdater.cpp
@@ -283,7 +283,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;