* Fix a crash in logging part of [7048].

--HG--
branch : trunk
This commit is contained in:
XTZGZoReX
2010-01-16 12:26:52 +01:00
parent 2c03836a7c
commit 7b4922172b
+2 -2
View File
@@ -885,8 +885,8 @@ void WorldSession::SendAddonsInfo()
data << uint8(usepk);
if (usepk) // if CRC is wrong, add public key (client need it)
{
sLog.outError("ADDON: CRC (0x%x) for addon %s is wrong (does not match expected %x), sending pubkey",
itr->Name, itr->CRC, STANDARD_ADDON_CRC);
sLog.outError("ADDON: CRC (0x%x) for addon %s is wrong (does not match expected 0x%x), sending pubkey",
itr->CRC, itr->Name.c_str(), STANDARD_ADDON_CRC);
data.append(addonPublicKey, sizeof(addonPublicKey));
}