Author: cgutman Date: Tue Jul 13 00:54:52 2010 New Revision: 48023
URL: http://svn.reactos.org/svn/reactos?rev=48023&view=rev Log: [WS2_32] - Update the catalog ID when we locate the matching provider - mswsock from aicom-network-branch can successfully create sockets now
Modified: trunk/reactos/dll/win32/ws2_32/misc/catalog.c
Modified: trunk/reactos/dll/win32/ws2_32/misc/catalog.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32/misc/catal... ============================================================================== --- trunk/reactos/dll/win32/ws2_32/misc/catalog.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/ws2_32/misc/catalog.c [iso-8859-1] Tue Jul 13 00:54:52 2010 @@ -146,6 +146,7 @@ (lpProtocolInfo->iSocketType == SOCK_RAW))) { //LeaveCriticalSection(&CatalogLock); + lpProtocolInfo->dwCatalogEntryId = Provider->ProtocolInfo.dwCatalogEntryId; WS_DbgPrint(MID_TRACE, ("Returning provider at (0x%X).\n", Provider)); return Provider; }