From af384ad7a8b5b919d2d22f6614e65fde7ad3057b Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Fri, 6 May 2005 14:33:11 +0000 Subject: [PATCH] Clean up if named pipe is not available. --- dlls/rpcrt4/rpcss_np_client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/rpcrt4/rpcss_np_client.c b/dlls/rpcrt4/rpcss_np_client.c index 567277ee868..78d675e3c26 100644 --- a/dlls/rpcrt4/rpcss_np_client.c +++ b/dlls/rpcrt4/rpcss_np_client.c @@ -84,7 +84,8 @@ HANDLE RPCRT4_RpcssNPConnect(void) if (! WaitNamedPipeA(NAME_RPCSS_NAMED_PIPE, MASTER_MUTEX_WAITNAMEDPIPE_TIMEOUT)) { ERR("Named pipe unavailable after waiting. Something is probably wrong.\n"); - return NULL; + the_pipe = NULL; + break; } }