Author: janderwald
Date: Sun Jun 2 12:59:06 2013
New Revision: 59142
URL:
http://svn.reactos.org/svn/reactos?rev=59142&view=rev
Log:
[UMPNPMGR]
- It is not an error when the client is already connected
- Fixes random driver installation failures
Modified:
trunk/reactos/base/services/umpnpmgr/umpnpmgr.c
Modified: trunk/reactos/base/services/umpnpmgr/umpnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/umpnpmgr/ump…
==============================================================================
--- trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] Sun Jun 2 12:59:06 2013
@@ -2886,8 +2886,11 @@
/* Wait for the function to connect to our pipe */
if(!ConnectNamedPipe(hPipe, NULL))
{
- DPRINT1("ConnectNamedPipe failed with error %u\n", GetLastError());
- goto cleanup;
+ if (GetLastError() != ERROR_PIPE_CONNECTED)
+ {
+ DPRINT1("ConnectNamedPipe failed with error %u\n",
GetLastError());
+ goto cleanup;
+ }
}
/* Pass the data. The following output is partly compatible to Windows XP SP2
(researched using a modified newdev.dll to log this stuff) */