summaryrefslogtreecommitdiff
path: root/src/common/Logging/Log.cpp
diff options
context:
space:
mode:
authorViste <viste02@gmail.com>2019-12-01 15:13:31 +0300
committerFrancesco Borzì <borzifrancesco@gmail.com>2019-12-01 13:13:31 +0100
commite22d78ecd6997bc11f8620b759364f119dac431a (patch)
tree42d8a3ddc03ddc7bc50f8ed024ac20b487d08b40 /src/common/Logging/Log.cpp
parente19e95e5d0c65f1b1e5a0725ee446af9958deb40 (diff)
refactor(Core): rename namespaces and macros to acore (#2454)
Diffstat (limited to 'src/common/Logging/Log.cpp')
-rw-r--r--src/common/Logging/Log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/Logging/Log.cpp b/src/common/Logging/Log.cpp
index 7f58477106..44fae1ef1d 100644
--- a/src/common/Logging/Log.cpp
+++ b/src/common/Logging/Log.cpp
@@ -199,8 +199,8 @@ FILE* Log::openGmlogPerAccount(uint32 account)
if (m_gmlog_filename_format.empty())
return NULL;
- char namebuf[TRINITY_PATH_MAX];
- snprintf(namebuf, TRINITY_PATH_MAX, m_gmlog_filename_format.c_str(), account);
+ char namebuf[ACORE_PATH_MAX];
+ snprintf(namebuf, ACORE_PATH_MAX, m_gmlog_filename_format.c_str(), account);
return fopen(namebuf, "a");
}