[WSHTCPIP]

Fix a bug that manifests in an ASSERT on MSVC builds

svn path=/trunk/; revision=64659
This commit is contained in:
Timo Kreuzer 2014-10-11 10:26:45 +00:00
parent 55134312a8
commit 049c7c4a6f

View file

@ -207,9 +207,9 @@ GetTdiTypeId(
break;
case IPPROTO_TCP:
*TdiType = INFO_TYPE_CONNECTION;
switch (OptionName)
{
*TdiType = INFO_TYPE_CONNECTION;
case TCP_NODELAY:
*TdiId = TCP_SOCKET_NODELAY;
return;