ws2_32: Base inet_addr() implementation on musl.
commit18230d23c599f1f5f9dd419dccc11c49117cc3b8
authorPaul Gofman <pgofman@codeweavers.com>
Thu, 3 Mar 2022 10:32:26 +0000 (3 13:32 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 4 Mar 2022 20:10:40 +0000 (4 21:10 +0100)
tree1e68dc8eca872adce0021e8afade600e7524e48b
parente171b58aae3bc42295fd49092c9ebb1ecda4c6c7
ws2_32: Base inet_addr() implementation on musl.

The imported algorithm is modified to match the tests.

Fixes a regression introduced by commit
671cf16f773e5dafc7edbf7766aed9e52e4e7b56.

Windows inet_addr() behaves basically the same as Unix
inet_addr() which is different from inet_pton().

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ws2_32/protocol.c
dlls/ws2_32/tests/protocol.c