Author: cgutman
Date: Sun Mar 29 04:22:31 2009
New Revision: 40275
URL:
http://svn.reactos.org/svn/reactos?rev=40275&view=rev
Log:
- Fix some TDI flags
Modified:
trunk/reactos/dll/win32/msafd/misc/sndrcv.c
Modified: trunk/reactos/dll/win32/msafd/misc/sndrcv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msafd/misc/sndrc…
==============================================================================
--- trunk/reactos/dll/win32/msafd/misc/sndrcv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msafd/misc/sndrcv.c [iso-8859-1] Sun Mar 29 04:22:31 2009
@@ -130,18 +130,15 @@
{
RecvInfo.TdiFlags |= TDI_RECEIVE_EXPEDITED;
}
- else
- {
- RecvInfo.TdiFlags |= TDI_RECEIVE_NORMAL;
- }
if (*ReceiveFlags & MSG_PEEK)
{
RecvInfo.TdiFlags |= TDI_RECEIVE_PEEK;
}
- if (*ReceiveFlags & MSG_PARTIAL) {
- RecvInfo.TdiFlags |= TDI_RECEIVE_NORMAL;
+ if (*ReceiveFlags & MSG_PARTIAL)
+ {
+ RecvInfo.TdiFlags |= TDI_RECEIVE_PARTIAL;
}
}
@@ -285,10 +282,6 @@
{
RecvInfo.TdiFlags |= TDI_RECEIVE_EXPEDITED;
}
- else
- {
- RecvInfo.TdiFlags |= TDI_RECEIVE_NORMAL;
- }
if (*ReceiveFlags & MSG_PEEK)
{
@@ -297,7 +290,7 @@
if (*ReceiveFlags & MSG_PARTIAL)
{
- RecvInfo.TdiFlags |= TDI_RECEIVE_NORMAL;
+ RecvInfo.TdiFlags |= TDI_RECEIVE_PARTIAL;
}
}