From c0d7a25a42824e31fc72eafa379e63d18f5dd474 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Tue, 19 Jul 2005 19:42:33 +0000 Subject: [PATCH] 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. --- dlls/ole32/rpc.c | 2 +- dlls/ole32/stubmanager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c index a67d75d9cd8..a867a9b3f95 100644 --- a/dlls/ole32/rpc.c +++ b/dlls/ole32/rpc.c @@ -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); } diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c index 4996b21b089..93d887c9af3 100644 --- a/dlls/ole32/stubmanager.c +++ b/dlls/ole32/stubmanager.c @@ -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);