mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 16:51:18 +00:00
- Fix a bug in TDI_TRANSPORT_ADDRESS_FILE handling
- Remove some dead code svn path=/trunk/; revision=42404
This commit is contained in:
parent
2ca9ad54c6
commit
027a914d20
1 changed files with 1 additions and 9 deletions
|
@ -716,15 +716,6 @@ NTSTATUS DispTdiQueryInformation(
|
|||
TcpipRecursiveMutexLeave(&TCPLock);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
if (!AddrFile) {
|
||||
TI_DbgPrint(MID_TRACE, ("No address file object.\n"));
|
||||
TcpipRecursiveMutexLeave(&TCPLock);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
TcpipRecursiveMutexLeave(&TCPLock);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
case TDI_QUERY_CONNECTION_INFO:
|
||||
|
@ -747,6 +738,7 @@ NTSTATUS DispTdiQueryInformation(
|
|||
switch ((ULONG)IrpSp->FileObject->FsContext2) {
|
||||
case TDI_TRANSPORT_ADDRESS_FILE:
|
||||
AddrFile = (PADDRESS_FILE)TranContext->Handle.AddressHandle;
|
||||
Endpoint = AddrFile ? AddrFile->Connection : NULL;
|
||||
break;
|
||||
|
||||
case TDI_CONNECTION_FILE:
|
||||
|
|
Loading…
Reference in a new issue