From ad68422a7bbdcf52141288c73bcdb52a39586ac4 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Thu, 15 Feb 2018 12:19:57 +0100 Subject: [PATCH] [IP] Silence "TCP operation failed" debug spam. --- sdk/lib/drivers/ip/transport/tcp/tcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/lib/drivers/ip/transport/tcp/tcp.c b/sdk/lib/drivers/ip/transport/tcp/tcp.c index 399d954c951..69a2f423661 100644 --- a/sdk/lib/drivers/ip/transport/tcp/tcp.c +++ b/sdk/lib/drivers/ip/transport/tcp/tcp.c @@ -267,8 +267,8 @@ NTSTATUS TCPTranslateError(const err_t err) Status = STATUS_UNSUCCESSFUL; break; } - - DbgPrint("TCP operation failed: 0x%x (%d)\n", Status, err); + + TI_DbgPrint(DEBUG_TCP,("TCP operation failed: 0x%x (%d)\n", Status, err)); return Status; } @@ -367,7 +367,7 @@ NTSTATUS TCPConnect Bucket->Request.RequestNotifyObject = (PVOID)Complete; Bucket->Request.RequestContext = Context; - + InsertTailList( &Connection->ConnectRequest, &Bucket->Entry ); Status = TCPTranslateError(LibTCPConnect(Connection,