Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.3.4

This commit is contained in:
Shauren committed 2012-07-05 14:16:44 +02:00
commit 32ba32c4eb
422 files changed
+23838 -9939

No files matched your search

+1 -2
View File
@@ -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;