[7968] In packet compression use real writed data size.

This commit is contained in:
VladimirMangos 2009-06-06 08:53:39 +04:00
parent 3b72c6f207
commit ef2d0df05d
3 changed files with 6 additions and 7 deletions

View file

@ -309,7 +309,7 @@ class ByteBuffer
}
void append(const ByteBuffer& buffer)
{
if(buffer.size()) append(buffer.contents(),buffer.wpos());
if(buffer.wpos()) append(buffer.contents(),buffer.wpos());
}
void appendPackGUID(uint64 guid)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7967"
#define REVISION_NR "7968"
#endif // __REVISION_NR_H__