Fixed typo in ws_sockaddr_u2ws().

This commit is contained in:
Marcus Meissner 2005-11-21 11:56:42 +00:00 committed by Alexandre Julliard
parent 20d0e80e61
commit 7f5c0de965
1 changed files with 1 additions and 1 deletions

View File

@ -1076,7 +1076,7 @@ static int ws_sockaddr_u2ws(const struct sockaddr* uaddr, int uaddrlen, struct W
win->sin_family = WS_AF_INET;
win->sin_port = uin->sin_port;
memcpy(&win->sin_addr,&uin->sin_addr,4); /* 4 bytes = 32 address bits */
*wsaddrlen = sizeof(struct WS_sockaddr_in6);
*wsaddrlen = sizeof(struct WS_sockaddr_in);
return 0;
}
default: