Commit c0d7a25a authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

Silence now noisy error messages caused by changes in the way we call

ipid_to_stubmanager. Move the error message to the one place it is needed.
parent 98c315c7
...@@ -460,7 +460,7 @@ static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg) ...@@ -460,7 +460,7 @@ static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg)
if (!apt || !stub) if (!apt || !stub)
{ {
if (apt) apartment_release(apt); if (apt) apartment_release(apt);
/* ipid_to_apt_and_stubbuffer will already have logged the error */ ERR("no apartment found for ipid %s\n", debugstr_guid(&ipid));
return RpcRaiseException(RPC_E_DISCONNECTED); return RpcRaiseException(RPC_E_DISCONNECTED);
} }
......
...@@ -340,7 +340,7 @@ HRESULT ipid_to_stub_manager(const IPID *ipid, APARTMENT **stub_apt, struct stub ...@@ -340,7 +340,7 @@ HRESULT ipid_to_stub_manager(const IPID *ipid, APARTMENT **stub_apt, struct stub
*stub_apt = apartment_findfromtid(ipid->Data2); *stub_apt = apartment_findfromtid(ipid->Data2);
if (!*stub_apt) if (!*stub_apt)
{ {
ERR("Couldn't find apartment corresponding to TID 0x%04x\n", ipid->Data2); TRACE("Couldn't find apartment corresponding to TID 0x%04x\n", ipid->Data2);
return RPC_E_INVALID_OBJECT; return RPC_E_INVALID_OBJECT;
} }
*stubmgr_ret = get_stub_manager_from_ipid(*stub_apt, ipid); *stubmgr_ret = get_stub_manager_from_ipid(*stub_apt, ipid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment