Skip to content
Snippets Groups Projects
Commit f3b01aa7 authored by Michael C. Maggio's avatar Michael C. Maggio Committed by Alexandre Julliard
Browse files

Code used AF_IPX in some places where it should have used WS_AF_IPX.

parent 588200fc
No related branches found
No related tags found
No related merge requests found
...@@ -771,9 +771,9 @@ static struct ws_protoent* check_buffer_pe(int size) ...@@ -771,9 +771,9 @@ static struct ws_protoent* check_buffer_pe(int size)
/* ----------------------------------- i/o APIs */ /* ----------------------------------- i/o APIs */
#ifdef HAVE_IPX #ifdef HAVE_IPX
#define SUPPORTED_PF(pf) ((pf)==AF_INET || (pf)== AF_IPX) #define SUPPORTED_PF(pf) ((pf)==WS_AF_INET || (pf)== WS_AF_IPX)
#else #else
#define SUPPORTED_PF(pf) ((pf)==AF_INET) #define SUPPORTED_PF(pf) ((pf)==WS_AF_INET)
#endif #endif
static void ws2_async_accept(SOCKET s, SOCKET as) static void ws2_async_accept(SOCKET s, SOCKET as)
...@@ -885,7 +885,7 @@ static int ws_sockaddr_u2ws(const struct sockaddr* uaddr, int uaddrlen, struct W ...@@ -885,7 +885,7 @@ static int ws_sockaddr_u2ws(const struct sockaddr* uaddr, int uaddrlen, struct W
case 4: case 4:
case 3: case 3:
case 2: case 2:
wsipx->sa_family=AF_IPX; wsipx->sa_family=WS_AF_IPX;
/* fall through */ /* fall through */
case 1: case 1:
case 0: case 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment