Preinitialize the Provider to prevent from crashing if no sockets were given.
Modified: trunk/reactos/lib/ws2_32/misc/dllmain.c
--- trunk/reactos/lib/ws2_32/misc/dllmain.c 2005-06-12 10:25:49 UTC (rev 15870) +++ trunk/reactos/lib/ws2_32/misc/dllmain.c 2005-06-12 10:33:22 UTC (rev 15871) @@ -339,7 +339,7 @@
* Number of ready socket descriptors, or SOCKET_ERROR if an error ocurred */ {
- PCATALOG_ENTRY Provider;
+ PCATALOG_ENTRY Provider = NULL;
INT Count; INT Errno;