3
0
Fork 0
forked from suyu/suyu

Add warning if Domain request has no domain message header

This commit is contained in:
mailwl 2018-02-20 22:51:54 +03:00
parent 827152d1fd
commit 1289a3c3c1

View file

@ -89,6 +89,9 @@ void HLERequestContext::ParseCommandBuffer(u32_le* src_cmdbuf, bool incoming) {
if (incoming || domain_message_header) {
domain_message_header =
std::make_unique<IPC::DomainMessageHeader>(rp.PopRaw<IPC::DomainMessageHeader>());
} else {
if (Session()->IsDomain())
LOG_WARNING(IPC, "Domain request has no DomainMessageHeader!");
}
}