mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[10583] Remove dual ERROR in logs
This commit is contained in:
parent
f41909a14b
commit
15e6c17158
5 changed files with 5 additions and 5 deletions
|
|
@ -259,7 +259,7 @@ static uint32 ReadDBCBuild(const std::string& dbc_path, LocaleNameStr const* loc
|
||||||
|
|
||||||
static bool LoadDBC_assert_print(uint32 fsize,uint32 rsize, const std::string& filename)
|
static bool LoadDBC_assert_print(uint32 fsize,uint32 rsize, const std::string& filename)
|
||||||
{
|
{
|
||||||
sLog.outError("ERROR: Size of '%s' setted by format string (%u) not equal size of C++ structure (%u).",filename.c_str(),fsize,rsize);
|
sLog.outError("Size of '%s' setted by format string (%u) not equal size of C++ structure (%u).",filename.c_str(),fsize,rsize);
|
||||||
|
|
||||||
// ASSERT must fail after function call
|
// ASSERT must fail after function call
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -281,7 +281,7 @@ int Master::Run()
|
||||||
if(SetPriorityClass(hProcess,HIGH_PRIORITY_CLASS))
|
if(SetPriorityClass(hProcess,HIGH_PRIORITY_CLASS))
|
||||||
sLog.outString("mangosd process priority class set to HIGH");
|
sLog.outString("mangosd process priority class set to HIGH");
|
||||||
else
|
else
|
||||||
sLog.outError("ERROR: Can't set mangosd process priority class.");
|
sLog.outError("Can't set mangosd process priority class.");
|
||||||
sLog.outString();
|
sLog.outString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -279,7 +279,7 @@ extern int main(int argc, char **argv)
|
||||||
if(SetPriorityClass(hProcess,HIGH_PRIORITY_CLASS))
|
if(SetPriorityClass(hProcess,HIGH_PRIORITY_CLASS))
|
||||||
sLog.outString("realmd process priority class set to HIGH");
|
sLog.outString("realmd process priority class set to HIGH");
|
||||||
else
|
else
|
||||||
sLog.outError("ERROR: Can't set realmd process priority class.");
|
sLog.outError("Can't set realmd process priority class.");
|
||||||
sLog.outString();
|
sLog.outString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ class ByteBufferException
|
||||||
|
|
||||||
void PrintPosError() const
|
void PrintPosError() const
|
||||||
{
|
{
|
||||||
sLog.outError("ERROR: Attempted to %s in ByteBuffer (pos: " SIZEFMTD " size: "SIZEFMTD") value with size: " SIZEFMTD,
|
sLog.outError("Attempted to %s in ByteBuffer (pos: " SIZEFMTD " size: "SIZEFMTD") value with size: " SIZEFMTD,
|
||||||
(add ? "put" : "get"), pos, size, esize);
|
(add ? "put" : "get"), pos, size, esize);
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10582"
|
#define REVISION_NR "10583"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue