From 1912e8896ee92dc11481a2b4cabc5033f90a4a54 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Tue, 15 Feb 2005 15:03:14 +0000 Subject: [PATCH] ERROR_IO_PENDING is expected, so don't return an error. --- dlls/rpcrt4/rpc_binding.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/rpcrt4/rpc_binding.c b/dlls/rpcrt4/rpc_binding.c index dee6004032d..bec104235a4 100644 --- a/dlls/rpcrt4/rpc_binding.c +++ b/dlls/rpcrt4/rpc_binding.c @@ -177,6 +177,8 @@ RPC_STATUS RPCRT4_OpenConnection(RpcConnection* Connection) if (GetLastError() == ERROR_PIPE_CONNECTED) { SetEvent(Connection->ovl.hEvent); return RPC_S_OK; + } else if (GetLastError() == ERROR_IO_PENDING) { + return RPC_S_OK; } return RPC_S_SERVER_UNAVAILABLE; }