From 7384d6fd6fdf4d4bfbcb3e50691364d551338f8f Mon Sep 17 00:00:00 2001 From: Sylvain Petreolle Date: Fri, 3 Oct 2014 09:05:34 +0000 Subject: [PATCH] [WS2_32] inet_addr does not require WSAStartup() svn path=/trunk/; revision=64481 --- reactos/dll/win32/ws2_32/misc/ns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/ws2_32/misc/ns.c b/reactos/dll/win32/ws2_32/misc/ns.c index 1ac0bc83811..dfee38de871 100644 --- a/reactos/dll/win32/ws2_32/misc/ns.c +++ b/reactos/dll/win32/ws2_32/misc/ns.c @@ -1496,7 +1496,7 @@ inet_addr(IN CONST CHAR FAR* cp) p = (PCHAR)cp; - if (!p || !WSAINITIALIZED) + if (!p) { WSASetLastError(WSAEFAULT); return INADDR_NONE;