Rob Shearman : rpcrt4: Print an error if an invalid client context handle is used.

Alexandre Julliard julliard at winehq.org
Sat Mar 29 06:56:49 CDT 2008


Module: wine
Branch: master
Commit: c06f26f2e3f814003d4ad22df1e0e31945edcbd8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c06f26f2e3f814003d4ad22df1e0e31945edcbd8

Author: Rob Shearman <rob at codeweavers.com>
Date:   Fri Mar 28 17:52:33 2008 +0000

rpcrt4: Print an error if an invalid client context handle is used.

---

 dlls/rpcrt4/ndr_contexthandle.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/rpcrt4/ndr_contexthandle.c b/dlls/rpcrt4/ndr_contexthandle.c
index 054bba3..15192a7 100644
--- a/dlls/rpcrt4/ndr_contexthandle.c
+++ b/dlls/rpcrt4/ndr_contexthandle.c
@@ -89,7 +89,10 @@ RPC_BINDING_HANDLE WINAPI NDRCContextBinding(NDR_CCONTEXT CContext)
     LeaveCriticalSection(&ndr_context_cs);
 
     if (!handle)
+    {
+        ERR("invalid handle %p\n", CContext);
         RpcRaiseException(ERROR_INVALID_HANDLE);
+    }
     return handle;
 }
 




More information about the wine-cvs mailing list