mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
[6849] Fixed build on linux (patch provided by Tabak)
This commit is contained in:
parent
4ccfa1e71e
commit
bdf7fb8394
3 changed files with 5 additions and 3 deletions
|
|
@ -271,8 +271,8 @@ FILE* Log::openGmlogPerAccount(uint32 account)
|
|||
if(m_gmlog_filename_format.empty())
|
||||
return NULL;
|
||||
|
||||
char namebuf[MAX_PATH];
|
||||
snprintf(namebuf,MAX_PATH,m_gmlog_filename_format.c_str(),account);
|
||||
char namebuf[MANGOS_PATH_MAX];
|
||||
snprintf(namebuf,MANGOS_PATH_MAX,m_gmlog_filename_format.c_str(),account);
|
||||
return fopen(namebuf, "a");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "6848"
|
||||
#define REVISION_NR "6849"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue