Bruno Jesus : ws2_32: Return the correct address family in WSAStringToAddressA.
Alexandre Julliard
julliard at winehq.org
Mon Jan 27 13:32:53 CST 2014
Module: wine
Branch: master
Commit: 4c6e04050f7c996506edab79518f43ce9ae4ce96
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c6e04050f7c996506edab79518f43ce9ae4ce96
Author: Bruno Jesus <00cpxxx at gmail.com>
Date: Sat Jan 18 19:03:27 2014 -0200
ws2_32: Return the correct address family in WSAStringToAddressA.
---
dlls/ws2_32/socket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index a855285..0ae0c4f 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -6861,7 +6861,7 @@ INT WINAPI WSAStringToAddressA(LPSTR AddressString,
*lpAddressLength = sizeof(SOCKADDR_IN);
memset(lpAddress, 0, sizeof(SOCKADDR_IN));
- ((LPSOCKADDR_IN)lpAddress)->sin_family = AF_INET;
+ ((LPSOCKADDR_IN)lpAddress)->sin_family = WS_AF_INET;
ptrPort = strchr(workBuffer, ':');
if(ptrPort)
More information about the wine-cvs
mailing list