[IP] Silence "TCP operation failed" debug spam.

This commit is contained in:
Thomas Faber 2018-02-15 12:19:57 +01:00
parent 67f99833cd
commit ad68422a7b
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -267,8 +267,8 @@ NTSTATUS TCPTranslateError(const err_t err)
Status = STATUS_UNSUCCESSFUL; Status = STATUS_UNSUCCESSFUL;
break; 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; return Status;
} }
@ -367,7 +367,7 @@ NTSTATUS TCPConnect
Bucket->Request.RequestNotifyObject = (PVOID)Complete; Bucket->Request.RequestNotifyObject = (PVOID)Complete;
Bucket->Request.RequestContext = Context; Bucket->Request.RequestContext = Context;
InsertTailList( &Connection->ConnectRequest, &Bucket->Entry ); InsertTailList( &Connection->ConnectRequest, &Bucket->Entry );
Status = TCPTranslateError(LibTCPConnect(Connection, Status = TCPTranslateError(LibTCPConnect(Connection,