mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 22:37:04 +00:00
[9844] Fix some whitespace errors.
Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
parent
ec0141261a
commit
68abd76c97
20 changed files with 88 additions and 88 deletions
|
|
@ -297,7 +297,7 @@ class ByteBuffer
|
|||
void read(uint8 *dest, size_t len)
|
||||
{
|
||||
if(_rpos + len > size())
|
||||
throw ByteBufferException(false, _rpos, len, size());
|
||||
throw ByteBufferException(false, _rpos, len, size());
|
||||
memcpy(dest, &_storage[_rpos], len);
|
||||
_rpos += len;
|
||||
}
|
||||
|
|
@ -406,7 +406,7 @@ class ByteBuffer
|
|||
void put(size_t pos, const uint8 *src, size_t cnt)
|
||||
{
|
||||
if(pos + cnt > size())
|
||||
throw ByteBufferException(true, pos, cnt, size());
|
||||
throw ByteBufferException(true, pos, cnt, size());
|
||||
memcpy(&_storage[pos], src, cnt);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ void Log::SetLogLevel(char* level)
|
|||
newLevel = LOG_LVL_DEBUG;
|
||||
|
||||
m_logLevel = LogLevel(newLevel);
|
||||
|
||||
|
||||
printf("LogLevel is %u\n", m_logLevel);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9843"
|
||||
#define REVISION_NR "9844"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue