summaryrefslogtreecommitdiff
path: root/src/common/Logging/Log.cpp
diff options
context:
space:
mode:
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");
}