Fixed typo in memset call.

This commit is contained in:
Alexey Spiridonov 2004-01-27 20:12:42 +00:00 committed by Alexandre Julliard
parent 69c047a10c
commit 333ecf3b75
1 changed files with 1 additions and 1 deletions

View File

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