From 145dc8c01d657d18281baf9002e5743960d0d425 Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Sun, 2 Sep 2001 12:19:34 +0000 Subject: [PATCH] Removed dbgprints svn path=/trunk/; revision=2221 --- reactos/subsys/csrss/api/process.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/reactos/subsys/csrss/api/process.c b/reactos/subsys/csrss/api/process.c index 6929682f615..45f10f6302d 100644 --- a/reactos/subsys/csrss/api/process.c +++ b/reactos/subsys/csrss/api/process.c @@ -1,4 +1,4 @@ -/* $Id: process.c,v 1.14 2001/09/01 15:36:45 chorns Exp $ +/* $Id: process.c,v 1.15 2001/09/02 12:19:34 chorns Exp $ * * reactos/subsys/csrss/api/process.c * @@ -156,7 +156,7 @@ CSR_API(CsrCreateProcess) NewProcessData->Console = ProcessData->Console; InterlockedIncrement( &(ProcessData->Console->Header.ReferenceCount) ); } - DbgPrint("Before type\n"); + if( NewProcessData->Console ) { CLIENT_ID ClientId; @@ -168,13 +168,6 @@ CSR_API(CsrCreateProcess) &Reply->Data.CreateProcessReply.OutputHandle, &(NewProcessData->Console->ActiveBuffer->Header) ); - - DbgPrint("OutputHandle %x\n", Reply->Data.CreateProcessReply.OutputHandle); - DbgPrint("Console %x\n", NewProcessData->Console); - DbgPrint("Console->ActiveBuffer %x\n", NewProcessData->Console->ActiveBuffer); - DbgPrint("Type %x\n", NewProcessData->Console->ActiveBuffer->Header.Type); - - RtlLeaveCriticalSection( &ActiveConsoleLock ); ClientId.UniqueProcess = (HANDLE)NewProcessData->ProcessId; Status = NtOpenProcess( &Process, PROCESS_DUP_HANDLE, 0, &ClientId );