Author: akhaldi
Date: Tue Sep 20 16:31:53 2016
New Revision: 72749
URL:
http://svn.reactos.org/svn/reactos?rev=72749&view=rev
Log:
[MSAFD] Don't assume SOL_SOCKET is the only socket level. By Peter Hater. CORE-10440
CORE-12008
Modified:
trunk/reactos/dll/win32/msafd/misc/dllmain.c
Modified: trunk/reactos/dll/win32/msafd/misc/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msafd/misc/dllma…
==============================================================================
--- trunk/reactos/dll/win32/msafd/misc/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msafd/misc/dllmain.c [iso-8859-1] Tue Sep 20 16:31:53 2016
@@ -2266,12 +2266,7 @@
/* FIXME: We should handle some more cases here */
- if (level != SOL_SOCKET)
- {
- *lpErrno = WSAEINVAL;
- return SOCKET_ERROR;
- }
- else
+ if (level == SOL_SOCKET)
{
switch (optname)
{