Silence some debug messages
authorGé van Geldorp <ge@gse.nl>
Mon, 2 Jan 2006 20:51:54 +0000 (20:51 +0000)
committerGé van Geldorp <ge@gse.nl>
Mon, 2 Jan 2006 20:51:54 +0000 (20:51 +0000)
svn path=/trunk/; revision=20537

reactos/drivers/lib/ip/transport/tcp/tcp.c
reactos/drivers/net/afd/afd/connect.c

index cfa5aa6..70d6d45 100644 (file)
@@ -476,7 +476,7 @@ NTSTATUS TCPConnect
     USHORT RemotePort;
     PTDI_BUCKET Bucket;
 
-    DbgPrint("TCPConnect: Called\n");
+    TI_DbgPrint(DEBUG_TCP,("TCPConnect: Called\n"));
 
     Bucket = ExAllocatePool( NonPagedPool, sizeof(*Bucket) );
     if( !Bucket ) return STATUS_NO_MEMORY;
@@ -494,9 +494,10 @@ NTSTATUS TCPConnect
         &RemoteAddress,
         &RemotePort);
 
-    DbgPrint("Connecting to address %x:%x\n",
-            RemoteAddress.Address.IPv4Address,
-            RemotePort);
+    TI_DbgPrint(DEBUG_TCP,
+                ("Connecting to address %x:%x\n",
+                 RemoteAddress.Address.IPv4Address,
+                 RemotePort));
 
     if (!NT_SUCCESS(Status)) {
        TI_DbgPrint(DEBUG_TCP, ("Could not AddrBuildAddress in TCPConnect\n"));
index 9c15009..200aff0 100644 (file)
@@ -151,9 +151,11 @@ AfdStreamSocketConnect(PDEVICE_OBJECT DeviceObject, PIRP Irp,
                                       0, NULL, TRUE );
 
     AFD_DbgPrint(MID_TRACE,("Connect request:\n"));
+#if 0
     OskitDumpBuffer
        ( (PCHAR)ConnectReq,
          IrpSp->Parameters.DeviceIoControl.InputBufferLength );
+#endif
 
     switch( FCB->State ) {
     case SOCKET_STATE_CONNECTED: