*Update to Mangos 6849. Source: Mangos.
--HG-- branch : trunk
This commit is contained in:
1 parent
925a013483
commit
0521e2d017
2 files changed
+4
-2
No files matched your search
+2
-2
@@ -273,8 +273,8 @@ FILE* Log::openGmlogPerAccount(uint32 account)
|
||||
if(m_gmlog_filename_format.empty())
|
||||
return NULL;
|
||||
|
||||
char namebuf[200/*MAX_PATH*/];
|
||||
snprintf(namebuf,200/*MAX_PATH*/,m_gmlog_filename_format.c_str(),account);
|
||||
char namebuf[TRINITY_PATH_MAX];
|
||||
snprintf(namebuf,TRINITY_PATH_MAX,m_gmlog_filename_format.c_str(),account);
|
||||
return fopen(namebuf, "a");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user