Author: cgutman
Date: Mon Jul 4 00:30:04 2011
New Revision: 52532
URL:
http://svn.reactos.org/svn/reactos?rev=52532&view=rev
Log:
[AFD]
- Fix a check so FIONREAD works for accepted sockets too
Modified:
trunk/reactos/drivers/network/afd/afd/info.c
Modified: trunk/reactos/drivers/network/afd/afd/info.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/in…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/info.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/info.c [iso-8859-1] Mon Jul 4 00:30:04 2011
@@ -54,7 +54,7 @@
case AFD_INFO_RECEIVE_CONTENT_SIZE:
/* Only touch InfoReq if a socket has been set up.
Behaviour was verified under WinXP SP2. */
- if(FCB->AddressFile.Object)
+ if(FCB->AddressFile.Object || FCB->Connection.Object)
InfoReq->Information.Ulong = FCB->Recv.Content -
FCB->Recv.BytesUsed;
break;