- Merge some small changes from aicom-network-branch to fix potential memory corrupt...
[reactos.git] / reactos / dll / win32 / wshtcpip / wshtcpip.c
index c585128..65d7cb0 100644 (file)
@@ -623,8 +623,10 @@ WSHSetSocketInformation(
     /* FIXME: We only handle address file object here */
 
     RealOptionName = GetAddressOption(Level, OptionName);
+
+    /* FIXME: Support all options */
     if (!RealOptionName)
-        return WSAEINVAL;
+        return 0; /* return WSAEINVAL; */
 
     Info = HeapAlloc(GetProcessHeap(), 0, sizeof(*Info) + OptionLength);
     if (!Info)