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.
This commit is contained in:
Robert Shearman 2005-07-19 19:42:33 +00:00 committed by Alexandre Julliard
parent 98c315c7c0
commit c0d7a25a42
2 changed files with 2 additions and 2 deletions

View File

@ -460,7 +460,7 @@ static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg)
if (!apt || !stub)
{
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);
}

View File

@ -340,7 +340,7 @@ HRESULT ipid_to_stub_manager(const IPID *ipid, APARTMENT **stub_apt, struct stub
*stub_apt = apartment_findfromtid(ipid->Data2);
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;
}
*stubmgr_ret = get_stub_manager_from_ipid(*stub_apt, ipid);