Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
commit
32ba32c4eb
422 files changed
+23838
-9939
No files matched your search
@@ -326,8 +326,7 @@ class ByteBuffer
|
||||
|
||||
ByteBuffer &operator<<(const char *str)
|
||||
{
|
||||
size_t len = 0;
|
||||
if (str && (len = strlen(str)))
|
||||
if (size_t len = (str ? strlen(str) : 0))
|
||||
append((uint8 const*)str, len);
|
||||
append((uint8)0);
|
||||
return *this;
|
||||
|
||||
Reference in new issue
Block a user