mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 23:02:59 +00:00
[WS2_32]
inet_addr does not require WSAStartup() svn path=/trunk/; revision=64481
This commit is contained in:
parent
4a66664eba
commit
7384d6fd6f
1 changed files with 1 additions and 1 deletions
|
@ -1496,7 +1496,7 @@ inet_addr(IN CONST CHAR FAR* cp)
|
||||||
|
|
||||||
p = (PCHAR)cp;
|
p = (PCHAR)cp;
|
||||||
|
|
||||||
if (!p || !WSAINITIALIZED)
|
if (!p)
|
||||||
{
|
{
|
||||||
WSASetLastError(WSAEFAULT);
|
WSASetLastError(WSAEFAULT);
|
||||||
return INADDR_NONE;
|
return INADDR_NONE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue