More logging adjustments

This commit is contained in:
Akkadius
2019-07-05 04:21:22 -05:00
parent ffd652a643
commit f0937c3963
6 changed files with 74 additions and 106 deletions
+6 -6
View File
@@ -108,18 +108,18 @@ void WorldServer::ProcessNewLSInfo(uint16_t opcode, const EQ::Net::Packet &packe
}
if (packet.Length() < sizeof(ServerNewLSInfo_Struct)) {
Log(Logs::General, Logs::Error,
Error(
"Received application packet from server that had opcode ServerOP_NewLSInfo, "
"but was too small. Discarded to avoid buffer overrun.");
"but was too small. Discarded to avoid buffer overrun"
);
return;
}
ServerNewLSInfo_Struct *info = (ServerNewLSInfo_Struct *) packet.Data();
auto *info = (ServerNewLSInfo_Struct *) packet.Data();
LogF(
Logs::General,
Logs::Login_Server,
LogLoginserver(
"Received New Login Server Info \n"
" - name [{0}]\n"
" - shortname [{1}]\n"