]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[WSD] Fixed a small problem that happens when running applications with the Applicati...
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 11 Jun 2006 14:10:47 +0000 (14:10 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 11 Jun 2006 14:10:47 +0000 (14:10 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@385 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/wsd/user/ibspdll.c

index 1bbc5146d7d419cc4bf9baa9be82fd2bba63bb47..9e489735d9398696c2a92167e4b78a3283eb6c63 100644 (file)
@@ -874,7 +874,10 @@ IBSPEnumNetworkEvents(
 \r
        IBSP_ENTER( IBSP_DBG_NEV );\r
 \r
-       ResetEvent( hEventObject );\r
+       if( hEventObject != NULL )\r
+       {\r
+               ResetEvent( hEventObject );\r
+       }\r
 \r
        lpNetworkEvents->lNetworkEvents =\r
                InterlockedExchange( &socket_info->network_events, 0 );\r