Clean up if named pipe is not available.

This commit is contained in:
Hartmut Birr 2005-05-06 14:33:11 +00:00 committed by Alexandre Julliard
parent 63b596d7ea
commit af384ad7a8
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ HANDLE RPCRT4_RpcssNPConnect(void)
if (! WaitNamedPipeA(NAME_RPCSS_NAMED_PIPE, MASTER_MUTEX_WAITNAMEDPIPE_TIMEOUT)) if (! WaitNamedPipeA(NAME_RPCSS_NAMED_PIPE, MASTER_MUTEX_WAITNAMEDPIPE_TIMEOUT))
{ {
ERR("Named pipe unavailable after waiting. Something is probably wrong.\n"); ERR("Named pipe unavailable after waiting. Something is probably wrong.\n");
return NULL; the_pipe = NULL;
break;
} }
} }