[WS2_32]
authorCameron Gutman <aicommander@gmail.com>
Tue, 13 Jul 2010 00:54:52 +0000 (00:54 +0000)
committerCameron Gutman <aicommander@gmail.com>
Tue, 13 Jul 2010 00:54:52 +0000 (00:54 +0000)
- Update the catalog ID when we locate the matching provider
- mswsock from aicom-network-branch can successfully create sockets now

svn path=/trunk/; revision=48023

reactos/dll/win32/ws2_32/misc/catalog.c

index 0dc13c4..53de8b5 100644 (file)
@@ -146,6 +146,7 @@ LocateProvider(LPWSAPROTOCOL_INFOW lpProtocolInfo)
                 (lpProtocolInfo->iSocketType    == SOCK_RAW)))
             {
                 //LeaveCriticalSection(&CatalogLock);
+                lpProtocolInfo->dwCatalogEntryId = Provider->ProtocolInfo.dwCatalogEntryId;
                 WS_DbgPrint(MID_TRACE, ("Returning provider at (0x%X).\n", Provider));
                 return Provider;
             }