mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[AFD]
- Fix a bug causing FIONREAD to return an incorrect value after a datagram receive completes when only returning a subset of the data (returns WSAEMSGSIZE) svn path=/trunk/; revision=57147
This commit is contained in:
parent
5fd0a21ec7
commit
dab0273c89
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ SatisfyPacketRecvRequest( PAFD_FCB FCB, PIRP Irp,
|
|||
|
||||
if (!(RecvReq->TdiFlags & TDI_RECEIVE_PEEK))
|
||||
{
|
||||
FCB->Recv.Content -= *TotalBytesCopied;
|
||||
FCB->Recv.Content -= DatagramRecv->Len;
|
||||
ExFreePool( DatagramRecv->Address );
|
||||
ExFreePool( DatagramRecv );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue