[ros-diffs] [cgutman] 53019: [TCPIP] - Remove the extra debug prints since the bug has been fixed

cgutman at svn.reactos.org cgutman at svn.reactos.org
Mon Aug 1 13:50:01 UTC 2011


Author: cgutman
Date: Mon Aug  1 13:50:00 2011
New Revision: 53019

URL: http://svn.reactos.org/svn/reactos?rev=53019&view=rev
Log:
[TCPIP]
- Remove the extra debug prints since the bug has been fixed

Modified:
    trunk/reactos/drivers/network/tcpip/tcpip/fileobjs.c
    trunk/reactos/lib/drivers/ip/transport/tcp/accept.c
    trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c

Modified: trunk/reactos/drivers/network/tcpip/tcpip/fileobjs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpip/fileobjs.c?rev=53019&r1=53018&r2=53019&view=diff
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/fileobjs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/fileobjs.c [iso-8859-1] Mon Aug  1 13:50:00 2011
@@ -284,7 +284,6 @@
       {
           /* The client specified an explicit port so we force a bind to this */
           AddrFile->Port = TCPAllocatePort(Address->Address[0].Address[0].sin_port);
-          DbgPrint("Bind - Explicit port %d\n", AddrFile->Port);
           
           /* Check for bind success */
           if (AddrFile->Port == 0xffff)
@@ -300,7 +299,6 @@
       {
           /* The client is trying to bind to a local address so allocate a port now too */
           AddrFile->Port = TCPAllocatePort(0);
-          DbgPrint("Bind - Unspecified port %d\n", AddrFile->Port);
           
           /* Check for bind success */
           if (AddrFile->Port == 0xffff)

Modified: trunk/reactos/lib/drivers/ip/transport/tcp/accept.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/tcp/accept.c?rev=53019&r1=53018&r2=53019&view=diff
==============================================================================
--- trunk/reactos/lib/drivers/ip/transport/tcp/accept.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/transport/tcp/accept.c [iso-8859-1] Mon Aug  1 13:50:00 2011
@@ -88,8 +88,6 @@
         Status = TCPTranslateError(OskitTCPBind(Connection,
                                                 &AddressToBind,
                                                 sizeof(AddressToBind)));
-        
-        DbgPrint("Listen - Explicit bind on port %d returned 0x%x\n", Connection->AddressFile->Port, Status);
     }
     else
     {
@@ -110,7 +108,6 @@
             {
                 /* Allocate the port in the port bitmap */
                 Connection->AddressFile->Port = TCPAllocatePort(LocalAddress.Address[0].Address[0].sin_port);
-                DbgPrint("Listen - Implicit bind on port %d\n", Connection->AddressFile->Port);
                 
                 /* This should never fail */
                 ASSERT(Connection->AddressFile->Port != 0xFFFF);

Modified: trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c?rev=53019&r1=53018&r2=53019&view=diff
==============================================================================
--- trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c [iso-8859-1] Mon Aug  1 13:50:00 2011
@@ -773,8 +773,6 @@
         Status = TCPTranslateError(OskitTCPBind(Connection,
                                                 &AddressToBind,
                                                 sizeof(AddressToBind)));
-        
-        DbgPrint("Connect - Explicit bind on port %d returned 0x%x\n", Connection->AddressFile->Port, Status);
     }
     else
     {
@@ -805,7 +803,6 @@
                     {
                         /* Allocate the port in the port bitmap */
                         Connection->AddressFile->Port = TCPAllocatePort(LocalAddress.Address[0].Address[0].sin_port);
-                        DbgPrint("Connect - Implicit bind on port %d\n", Connection->AddressFile->Port);
 
                         /* This should never fail */
                         ASSERT(Connection->AddressFile->Port != 0xFFFF);




More information about the Ros-diffs mailing list