ws2_32: Ignore lpFrom for connected sockets.
commit30e6b81dd1890ce21e9a5bb22d251887fbd8188a
authorJeff Zaroyko <jeffz@jeffz.name>
Fri, 13 Jun 2008 08:05:22 +0000 (13 18:05 +1000)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 21 Jun 2008 09:36:15 +0000 (21 11:36 +0200)
treee2dac273f1091f667930aa8fc663eb3486afeb13
parent5b7bec34c1b550e26744fe632a55e196a751eab4
ws2_32: Ignore lpFrom for connected sockets.

If the the socket is connected and lpFrom is not NULL, Linux will set
msg_namelen to zero and ignore msg_name in recvfrom so don't try try
to update lpFrom.
dlls/ws2_32/socket.c
dlls/ws2_32/tests/sock.c