Revert accidental commit

svn path=/trunk/; revision=15400
This commit is contained in:
Alex Ionescu 2005-05-18 21:28:12 +00:00
parent 4507d7ac14
commit 3d90c8bdad

View file

@ -702,13 +702,12 @@ ScmStartUserModeService(PSERVICE Service)
ResumeThread(ProcessInformation.hThread); ResumeThread(ProcessInformation.hThread);
/* Connect control pipe */ /* Connect control pipe */
DPRINT1("Connect named pipe\n")
if (ConnectNamedPipe(Service->ControlPipeHandle, NULL)) if (ConnectNamedPipe(Service->ControlPipeHandle, NULL))
{ {
DWORD dwProcessId = 0; DWORD dwProcessId = 0;
DWORD dwRead = 0; DWORD dwRead = 0;
DPRINT1("Control pipe connected!\n"); DPRINT("Control pipe connected!\n");
/* Read thread id from pipe */ /* Read thread id from pipe */
if (!ReadFile(Service->ControlPipeHandle, if (!ReadFile(Service->ControlPipeHandle,
@ -732,7 +731,7 @@ ScmStartUserModeService(PSERVICE Service)
} }
else else
{ {
DPRINT1("Connecting control pipe failed!\n"); DPRINT("Connecting control pipe failed!\n");
/* Close control pipe */ /* Close control pipe */
CloseHandle(Service->ControlPipeHandle); CloseHandle(Service->ControlPipeHandle);