From 9f47a2e6aa3a95cd85824e8bf14f491a1794cc76 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Wed, 17 Apr 2024 18:17:49 +0300 Subject: [PATCH] Fix logging of received network packs on client --- client/Client.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/Client.cpp b/client/Client.cpp index d34b904c3..eab9fea01 100644 --- a/client/Client.cpp +++ b/client/Client.cpp @@ -518,15 +518,15 @@ void CClient::handlePack(CPack * pack) if(apply) { apply->applyOnClBefore(this, pack); - logNetwork->trace("\tMade first apply on cl: %s", typeid(pack).name()); + logNetwork->trace("\tMade first apply on cl: %s", typeid(*pack).name()); gs->apply(pack); - logNetwork->trace("\tApplied on gs: %s", typeid(pack).name()); + logNetwork->trace("\tApplied on gs: %s", typeid(*pack).name()); apply->applyOnClAfter(this, pack); - logNetwork->trace("\tMade second apply on cl: %s", typeid(pack).name()); + logNetwork->trace("\tMade second apply on cl: %s", typeid(*pack).name()); } else { - logNetwork->error("Message %s cannot be applied, cannot find applier!", typeid(pack).name()); + logNetwork->error("Message %s cannot be applied, cannot find applier!", typeid(*pack).name()); } delete pack; }