Use WSARecv instead of WSARecvFrom when the from field is empty
authorDenis Charmet <typx@videolan.org>
Wed, 7 Sep 2016 17:08:35 +0000 (19:08 +0200)
committerDenis Charmet <typx@videolan.org>
Wed, 7 Sep 2016 17:08:35 +0000 (19:08 +0200)
commit0ca74870c42016492b9d548584f7ba2cd9a60f68
tree6d998ad52dbb08802b337e5cd937bf018db27c31
parent0716db4d953ea19672f2b19d2dd839cb50a4c7e3
Use WSARecv instead of WSARecvFrom when the from field is empty

Windows will throw WSAEFAULT if WSARecvFrom is called with a NULL lpFrom and/or fromlen

Close #17163
compat/recvmsg.c