mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
[MSAFD] Don't assume SOL_SOCKET is the only socket level. By Peter Hater. CORE-10440 CORE-12008
svn path=/trunk/; revision=72749
This commit is contained in:
parent
e4af4ccb22
commit
840345bf57
|
@ -2266,12 +2266,7 @@ WSPSetSockOpt(
|
|||
|
||||
|
||||
/* FIXME: We should handle some more cases here */
|
||||
if (level != SOL_SOCKET)
|
||||
{
|
||||
*lpErrno = WSAEINVAL;
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
else
|
||||
if (level == SOL_SOCKET)
|
||||
{
|
||||
switch (optname)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue