Commit 44ea5334 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

ws2_32: Avoid magic numbers.

parent e0581b38
...@@ -1670,7 +1670,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info ) ...@@ -1670,7 +1670,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info )
info->iAddressFamily = WS_AF_IPX; info->iAddressFamily = WS_AF_IPX;
info->iMaxSockAddr = 0x10; info->iMaxSockAddr = 0x10;
info->iMinSockAddr = 0x0e; info->iMinSockAddr = 0x0e;
info->iSocketType = 5; info->iSocketType = WS_SOCK_SEQPACKET;
info->dwMessageSize = 0xffffffff; info->dwMessageSize = 0xffffffff;
strcpyW( info->szProtocol, NameSpxW ); strcpyW( info->szProtocol, NameSpxW );
break; break;
...@@ -1687,7 +1687,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info ) ...@@ -1687,7 +1687,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info )
info->iAddressFamily = WS_AF_IPX; info->iAddressFamily = WS_AF_IPX;
info->iMaxSockAddr = 0x10; info->iMaxSockAddr = 0x10;
info->iMinSockAddr = 0x0e; info->iMinSockAddr = 0x0e;
info->iSocketType = 5; info->iSocketType = WS_SOCK_SEQPACKET;
info->dwMessageSize = 0xffffffff; info->dwMessageSize = 0xffffffff;
strcpyW( info->szProtocol, NameSpxIIW ); strcpyW( info->szProtocol, NameSpxIIW );
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment