[ros-diffs] [cgutman] 48023: [WS2_32] - Update the catalog ID when we locate the matching provider - mswsock from aicom-network-branch can successfully create sockets now

cgutman at svn.reactos.org cgutman at svn.reactos.org
Tue Jul 13 00:54:53 UTC 2010


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/catalog.c?rev=48023&r1=48022&r2=48023&view=diff
==============================================================================
--- 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;
             }




More information about the Ros-diffs mailing list