Module: wine Branch: master Commit: 44ea5334caf05bd9b450d1d0b9f4da1d8a202acb URL: http://source.winehq.org/git/wine.git/?a=commit;h=44ea5334caf05bd9b450d1d0b9... Author: Bruno Jesus <00cpxxx(a)gmail.com> Date: Mon Sep 16 01:43:45 2013 -0300 ws2_32: Avoid magic numbers. --- dlls/ws2_32/socket.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 8762950..c6b3593 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -1670,7 +1670,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info ) info->iAddressFamily = WS_AF_IPX; info->iMaxSockAddr = 0x10; info->iMinSockAddr = 0x0e; - info->iSocketType = 5; + info->iSocketType = WS_SOCK_SEQPACKET; info->dwMessageSize = 0xffffffff; strcpyW( info->szProtocol, NameSpxW ); break; @@ -1687,7 +1687,7 @@ static INT WS_EnterSingleProtocolW( INT protocol, WSAPROTOCOL_INFOW* info ) info->iAddressFamily = WS_AF_IPX; info->iMaxSockAddr = 0x10; info->iMinSockAddr = 0x0e; - info->iSocketType = 5; + info->iSocketType = WS_SOCK_SEQPACKET; info->dwMessageSize = 0xffffffff; strcpyW( info->szProtocol, NameSpxIIW ); break;