Commit 333ecf3b authored by Alexey Spiridonov's avatar Alexey Spiridonov Committed by Alexandre Julliard

Fixed typo in memset call.

parent 69c047a1
...@@ -729,7 +729,7 @@ static const struct sockaddr* ws_sockaddr_ws2u(const struct WS_sockaddr* wsaddr, ...@@ -729,7 +729,7 @@ static const struct sockaddr* ws_sockaddr_ws2u(const struct WS_sockaddr* wsaddr,
*uaddrlen=sizeof(struct sockaddr_ipx); *uaddrlen=sizeof(struct sockaddr_ipx);
uipx=malloc(*uaddrlen); uipx=malloc(*uaddrlen);
memset(&uipx,0,sizeof(uipx)); memset(uipx,0,sizeof(*uipx));
uipx->sipx_family=AF_IPX; uipx->sipx_family=AF_IPX;
uipx->sipx_port=wsipx->sa_socket; uipx->sipx_port=wsipx->sa_socket;
/* copy sa_netnum and sa_nodenum to sipx_network and sipx_node /* copy sa_netnum and sa_nodenum to sipx_network and sipx_node
......
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